|
Lines 718-740
Link Here
|
| 718 |
</tr> |
718 |
</tr> |
| 719 |
<tr> |
719 |
<tr> |
| 720 |
<td> |
720 |
<td> |
| 721 |
<select name="refund"> |
721 |
<select name="lostreturn"> |
| 722 |
[%# Default branch %] |
722 |
[%# Default branch %] |
| 723 |
[% IF ( current_branch == '*' ) %] |
723 |
[% IF ( current_branch == '*' ) %] |
| 724 |
[% IF ( defaultRefundRule ) %] |
724 |
[% IF ( defaultRefundRule == 'refund' ) %] |
| 725 |
<option value="1" selected="selected"> |
725 |
<option value="refund" selected="selected">Refund lost item charge</option> |
|
|
726 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 727 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 728 |
<option value="0">Leave lost item charge</option> |
| 729 |
[% ELSIF ( defaultRefundRule == 'charge' ) %] |
| 730 |
<option value="refund">Refund lost item charge</option> |
| 731 |
<option value="charge" selected="selected">Refund lost item charge and charge new overdue fine</option> |
| 732 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 733 |
<option value="0">Leave lost item charge</option> |
| 734 |
[% ELSIF ( defaultRefundRule == 'restore' ) %] |
| 735 |
<option value="refund">Refund lost item charge</option> |
| 736 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 737 |
<option value="restore" selected="selected">Refund lost item charge and restore overdue fine</option> |
| 738 |
<option value="0">Leave lost item charge</option> |
| 739 |
[% ELSIF ( defaultRefundRule == 0 ) %] |
| 740 |
<option value="refund">Refund lost item charge</option> |
| 741 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 742 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 743 |
<option value="0" selected="selected">Leave lost item charge</option> |
| 726 |
[% ELSE %] |
744 |
[% ELSE %] |
| 727 |
<option value="1"> |
745 |
<option value="refund">Refund lost item charge</option> |
|
|
746 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 747 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 748 |
<option value="0">Leave lost item charge</option> |
| 728 |
[% END %] |
749 |
[% END %] |
| 729 |
Yes |
|
|
| 730 |
</option> |
| 731 |
[% IF ( not defaultRefundRule ) %] |
| 732 |
<option value="0" selected="selected"> |
| 733 |
[% ELSE %] |
| 734 |
<option value="0"> |
| 735 |
[% END %] |
| 736 |
No |
| 737 |
</option> |
| 738 |
[% ELSE %] |
750 |
[% ELSE %] |
| 739 |
[%# Branch-specific %] |
751 |
[%# Branch-specific %] |
| 740 |
[% IF ( not refundLostItemFeeRule ) %] |
752 |
[% IF ( not refundLostItemFeeRule ) %] |
|
Lines 742-771
Link Here
|
| 742 |
[% ELSE %] |
754 |
[% ELSE %] |
| 743 |
<option value="*"> |
755 |
<option value="*"> |
| 744 |
[% END %] |
756 |
[% END %] |
| 745 |
[% IF defaultRefundRule %] |
757 |
[% IF defaultRefundRule == 'refund' %] |
| 746 |
Use default (Yes) |
758 |
Use default (Refund lost item charge) |
|
|
759 |
[% ELSIF defaultRefundRule == 'charge' %] |
| 760 |
Use default (Refund lost item charge and restore overdue fine) |
| 761 |
[% ELSIF defaultRefundRule == 'restore' %] |
| 762 |
Use default (Refund lost item charge and charge new overdue fine) |
| 747 |
[% ELSE %] |
763 |
[% ELSE %] |
| 748 |
Use default (No) |
764 |
Use default (Leave lost item charge) |
| 749 |
[% END %] |
765 |
[% END %] |
| 750 |
</option> |
766 |
</option> |
| 751 |
[% IF ( not refundLostItemFeeRule ) %] |
767 |
[% IF ( not refundLostItemFeeRule ) %] |
| 752 |
<option value="1">Yes</option> |
768 |
<option value="refund">Refund lost item charge</option> |
| 753 |
<option value="0">No</option> |
769 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
|
|
770 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 771 |
<option value="0">Leave lost item charge</option> |
| 754 |
[% ELSE %] |
772 |
[% ELSE %] |
| 755 |
[% IF ( refundLostItemFeeRule.rule_value ) %] |
773 |
[% IF ( refundLostItemFeeRule.rule_value == 'refund' ) %] |
| 756 |
<option value="1" selected="selected"> |
774 |
<option value="refund" selected="selected">Refund lost item charge</option> |
| 757 |
[% ELSE %] |
775 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 758 |
<option value="1"> |
776 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
|
|
777 |
<option value="0">Leave lost item charge</option> |
| 778 |
[% ELSIF ( refundLostItemFeeRule.rule_value == 'charge' ) %] |
| 779 |
<option value="refund">Refund lost item charge</option> |
| 780 |
<option value="charge" selected="selected">Refund lost item charge and charge new overdue fine</option> |
| 781 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 782 |
<option value="0">Leave lost item charge</option> |
| 783 |
[% ELSIF ( refundLostItemFeeRule.rule_value == 'restore' ) %] |
| 784 |
<option value="refund">Refund lost item charge</option> |
| 785 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 786 |
<option value="restore" selected="selected">Refund lost item charge and restore overdue fine</option> |
| 787 |
<option value="0">Leave lost item charge</option> |
| 788 |
[% ELSIF ( refundLostItemFeeRule.rule_value == 0 ) %] |
| 789 |
<option value="refund">Refund lost item charge</option> |
| 790 |
<option value="charge">Refund lost item charge and charge new overdue fine</option> |
| 791 |
<option value="restore">Refund lost item charge and restore overdue fine</option> |
| 792 |
<option value="0" selected="selected">Leave lost item charge</option> |
| 759 |
[% END %] |
793 |
[% END %] |
| 760 |
Yes |
|
|
| 761 |
</option> |
| 762 |
[% IF ( not refundLostItemFeeRule.rule_value ) %] |
| 763 |
<option value="0" selected="selected"> |
| 764 |
[% ELSE %] |
| 765 |
<option value="0"> |
| 766 |
[% END %] |
| 767 |
No |
| 768 |
</option> |
| 769 |
[% END %] |
794 |
[% END %] |
| 770 |
[% END %] |
795 |
[% END %] |
| 771 |
</select> |
796 |
</select> |
| 772 |
- |
|
|