Lines 153-160
Link Here
|
153 |
[% IF op =='delete_confirm' %] |
153 |
[% IF op =='delete_confirm' %] |
154 |
[% IF nb_of_orders or nb_of_vendors %] |
154 |
[% IF nb_of_orders or nb_of_vendors %] |
155 |
<div class="dialog alert"> |
155 |
<div class="dialog alert"> |
156 |
<h3>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %] |
156 |
<h3>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h3> |
157 |
</h3> |
|
|
158 |
<p> |
157 |
<p> |
159 |
[% IF nb_of_orders %] |
158 |
[% IF nb_of_orders %] |
160 |
This currency is used by [% nb_of_orders %] orders. |
159 |
This currency is used by [% nb_of_orders %] orders. |
Lines 169-176
Link Here
|
169 |
</div> |
168 |
</div> |
170 |
[% ELSE %] |
169 |
[% ELSE %] |
171 |
<div class="dialog alert"> |
170 |
<div class="dialog alert"> |
172 |
<h3>Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %] |
171 |
<h3>Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h3> |
173 |
</h3> |
|
|
174 |
<table> |
172 |
<table> |
175 |
<tr><th>Currency</th> |
173 |
<tr><th>Currency</th> |
176 |
<td>[% currency.currency %]</td> |
174 |
<td>[% currency.currency %]</td> |
177 |
- |
|
|