Lines 315-326
function CheckAttributeTypeForm(f) {
Link Here
|
315 |
<td>[% item.code |html %]</td> |
315 |
<td>[% item.code |html %]</td> |
316 |
<td>[% item.description %]</td> |
316 |
<td>[% item.description %]</td> |
317 |
<td> |
317 |
<td> |
318 |
[% IF item.branches > 0 %] |
318 |
[% IF item.branches.size > 0 %] |
319 |
[% branches_str = "" %] |
319 |
[% branches_str = "" %] |
320 |
[% FOREACH branch IN item.branches %] |
320 |
[% FOREACH branch IN item.branches %] |
321 |
[% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %] |
321 |
[% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %] |
322 |
[% END %] |
322 |
[% END %] |
323 |
<span title="[% branches_str %]">[% item.branches.size %] branches limitations</span> |
323 |
<span title="[% branches_str %]"> |
|
|
324 |
[% IF item.branches.size > 1 %] |
325 |
[% item.branches.size %] branches limitations |
326 |
[% ELSE %] |
327 |
[% item.branches.size %] branch limitation |
328 |
[% END %] |
329 |
</span> |
324 |
[% ELSE %] |
330 |
[% ELSE %] |
325 |
No limitation |
331 |
No limitation |
326 |
[% END %] |
332 |
[% END %] |
327 |
- |
|
|