View | Details | Raw Unified | Return to bug 26403
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-2 / +3 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% PROCESS 'accounts.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
7
<title>
7
    [% IF op =='add_form' %]
8
    [% IF op =='add_form' %]
Lines 94-100 Link Here
94
                                <li>
95
                                <li>
95
                                    <label for="description" class="required">Description: </label>
96
                                    <label for="description" class="required">Description: </label>
96
                                    [% IF credit_type && credit_type.is_system %]
97
                                    [% IF credit_type && credit_type.is_system %]
97
                                        <span>[% credit_type.description | html %]</span>
98
                                        <span>[%- PROCESS credit_type_description credit_type = credit_type -%]</span>
98
                                    [% ELSE %]
99
                                    [% ELSE %]
99
                                        <input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% credit_type.description | html %]" /> <span class="required">Required</span>
100
                                        <input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% credit_type.description | html %]" /> <span class="required">Required</span>
100
                                    [% END %]
101
                                    [% END %]
Lines 171-177 Link Here
171
                                        <td>[% credit_type.archived | html %]</td>
172
                                        <td>[% credit_type.archived | html %]</td>
172
                                        <td>[% credit_type.is_system | html %]</td>
173
                                        <td>[% credit_type.is_system | html %]</td>
173
                                        <td>[% credit_type.code | html %]</td>
174
                                        <td>[% credit_type.code | html %]</td>
174
                                        <td>[% credit_type.description | html %]</td>
175
                                        <td>[%- PROCESS credit_type_description credit_type = credit_type -%]</td>
175
                                        <td>[% IF credit_type.can_be_added_manually %]Manual credit[% END %]</td>
176
                                        <td>[% IF credit_type.can_be_added_manually %]Manual credit[% END %]</td>
176
                                        <td>[% IF credit_type.credit_number_enabled %]Yes[% ELSE %]No[% END %]</td>
177
                                        <td>[% IF credit_type.credit_number_enabled %]Yes[% ELSE %]No[% END %]</td>
177
                                        <td>
178
                                        <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-3 / +7 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE Price %]
4
[% USE Price %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% PROCESS 'accounts.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
8
<title>
8
    [% IF op =='add_form' %]
9
    [% IF op =='add_form' %]
Lines 95-101 Link Here
95
                                </li>
96
                                </li>
96
                                <li>
97
                                <li>
97
                                    <label for="description" class="required">Description: </label>
98
                                    <label for="description" class="required">Description: </label>
98
                                    <input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% debit_type.description | html %]" /> <span class="required">Required</span>
99
                                    [% IF debit_type && debit_type.is_system %]
100
                                        <span>[%- PROCESS debit_type_description debit_type = debit_type -%]</span>
101
                                    [% ELSE %]
102
                                        <input type="text" name="description" id="description" required="required" class="required" size="80" maxlength="100" value="[% debit_type.description | html %]" /> <span class="required">Required</span>
103
                                    [% END %]
99
                                </li>
104
                                </li>
100
                                <li>
105
                                <li>
101
                                    <label for="can_be_invoiced">Can be manually invoiced? </label>
106
                                    <label for="can_be_invoiced">Can be manually invoiced? </label>
Lines 162-168 Link Here
162
                                        <td>[% debit_type.archived | html %]</td>
167
                                        <td>[% debit_type.archived | html %]</td>
163
                                        <td>[% debit_type.is_system | html %]</td>
168
                                        <td>[% debit_type.is_system | html %]</td>
164
                                        <td>[% debit_type.code | html %]</td>
169
                                        <td>[% debit_type.code | html %]</td>
165
                                        <td>[% debit_type.description | html %]</td>
170
                                        <td>[%- PROCESS debit_type_description debit_type = debit_type -%]</td>
166
                                        <td>[% debit_type.default_amount | $Price %]</td>
171
                                        <td>[% debit_type.default_amount | $Price %]</td>
167
                                        <td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %]
172
                                        <td>[% IF debit_type.can_be_invoiced && debit_type.can_be_sold %]
168
                                            <i class="fa fa-id-card-o"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale
173
                                            <i class="fa fa-id-card-o"></i> Invoicing, <i class="fa fa-shopping-cart"></i> Sale
169
- 

Return to bug 26403