Lines 2-12
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% USE Branches %] |
4 |
[% USE Branches %] |
|
|
5 |
[% USE Registers %] |
5 |
[% SET footerjs = 1 %] |
6 |
[% SET footerjs = 1 %] |
6 |
|
7 |
|
7 |
[% PROCESS 'accounts.inc' %] |
8 |
[% PROCESS 'accounts.inc' %] |
8 |
|
9 |
|
9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
|
|
11 |
[% SET registers = Registers.all( { filters => { current_branch => 1 } } ) %] |
10 |
<title>Create manual credit › Patrons › Koha</title> |
12 |
<title>Create manual credit › Patrons › Koha</title> |
11 |
[% INCLUDE 'doc-head-close.inc' %] |
13 |
[% INCLUDE 'doc-head-close.inc' %] |
12 |
</head> |
14 |
</head> |
Lines 69-74
Link Here
|
69 |
<li><label for="desc">Description: </label><input type="text" name="desc" size="50" id="desc" /></li> |
71 |
<li><label for="desc">Description: </label><input type="text" name="desc" size="50" id="desc" /></li> |
70 |
<li><label for="note">Note: </label><input type="text" name="note" size="50" id="note" /></li> |
72 |
<li><label for="note">Note: </label><input type="text" name="note" size="50" id="note" /></li> |
71 |
<li><label for="amount">Amount: </label><input type="text" inputmode="decimal" pattern="^\d+(\.\d{2})?$" name="amount" id="amount" required="required" min="0" value=""/> Example: 5.00</li> |
73 |
<li><label for="amount">Amount: </label><input type="text" inputmode="decimal" pattern="^\d+(\.\d{2})?$" name="amount" id="amount" required="required" min="0" value=""/> Example: 5.00</li> |
|
|
74 |
[% INCLUDE 'transaction_types.inc' %] |
75 |
[% IF Koha.Preference('UseCashRegisters') %] |
76 |
<li> |
77 |
[% IF Koha.Preference('RequireCashRegister') %] |
78 |
<label for="cash_register" class="required"> |
79 |
[% ELSE %] |
80 |
<label for="cash_register"> |
81 |
[% END %] |
82 |
Cash register: |
83 |
</label> |
84 |
|
85 |
[% IF Koha.Preference('RequireCashRegister') %] |
86 |
<select name="cash_register" id="cash_register" required> |
87 |
[% ELSE %] |
88 |
<select name="cash_register" id="cash_register"> |
89 |
[% END %] |
90 |
<option id="noregister" disabled selected="selected" value="">-- Select an option--</option> |
91 |
[% PROCESS options_for_registers %] |
92 |
</select> |
93 |
|
94 |
[% IF Koha.Preference('RequireCashRegister') %] |
95 |
<span class="required">Required</span> |
96 |
[% END %] |
97 |
</li> |
98 |
[% END %] |
72 |
</ol> |
99 |
</ol> |
73 |
</fieldset> |
100 |
</fieldset> |
74 |
|
101 |
|