Revision ea314576
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/ic/tabs/_shop.html | ||
---|---|---|
1 |
<!-- TMP --> |
|
2 | 1 |
[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%] |
3 |
<<<<<<< HEAD |
|
4 | 2 |
[%- USE Dumper %] |
5 | 3 |
[%- USE JavaScript -%] |
6 | 4 |
<div id="shop_variables"> |
... | ... | |
82 | 80 |
</script> |
83 | 81 |
<div id="shop_images" border=1 > |
84 | 82 |
</div> |
83 |
|
|
84 |
<div id="shop_variables"> |
|
85 |
[% LxERP.t8("Active shops:") %] |
|
86 |
<table> |
|
87 |
<thead> |
|
88 |
<tr> |
|
89 |
<th>[% LxERP.t8("Shop") %]</th> |
|
90 |
<th>[% LxERP.t8("Active") %]</th> |
|
91 |
<th>[% LxERP.t8("Shop part") %]</th> |
|
92 |
<th>[% LxERP.t8("Last update") %]</th> |
|
93 |
<th>[% LxERP.t8("Action") %]</th> |
|
94 |
<th>[% LxERP.t8("Action") %]</th> |
|
95 |
</tr> |
|
96 |
</thead> |
|
97 |
[%- FOREACH shop_part = SHOP_PARTS %] |
|
98 |
<tr> |
|
99 |
<td>[% HTML.escape( shop_part.shop.description ) %]</td> |
|
100 |
<td>[% L.html_tag('span', shop_part.active, id => 'shop_part_active_' _ shop_part.id ) %]</td> |
|
101 |
<td>[% L.html_tag('span', shop_part.shop_description, id => 'shop_part_description_' _ shop_part.id ) %]</td> |
|
102 |
<td>[% L.html_tag('span', shop_part.last_update.to_kivitendo('precision' => 'minute'), id => 'shop_part_last_update_' _ shop_part.id ) %]</td> |
|
103 |
<td>[% L.button_tag("kivi.shop_part.edit_shop_part(" _ shop_part.id _ ")", LxERP.t8("Edit")) %]</td> |
|
104 |
<td>[% L.button_tag("kivi.shop_part.update_shop_part(" _ shop_part.id _ ")", LxERP.t8("Update")) %]</td> |
|
105 |
</tr> |
|
106 |
[%- END %] |
|
107 |
[%- FOREACH shop = SHOPS_NOT_ASSIGNED %] |
|
108 |
<tr> |
|
109 |
<td>[% HTML.escape( shop.description ) %]</td> |
|
110 |
<td></td> |
|
111 |
<td></td> |
|
112 |
<td></td> |
|
113 |
<td>[% L.button_tag("kivi.shop_part.create_shop_part(" _ id _ ", " _ shop.id _ ")", LxERP.t8("Add")) %]</td> |
|
114 |
<td></td> |
|
115 |
</tr> |
|
116 |
[%- END %] |
|
117 |
</table> |
|
118 |
|
|
119 |
|
|
120 |
[% # L.dump(shop_part) %] |
|
121 |
<hr> |
|
122 |
[%- IF CUSTOM_VARIABLES.size %] |
|
123 |
<div id="shop_custom_variables"> |
|
124 |
<p> |
|
125 |
<table> |
|
126 |
[%- FOREACH var = CUSTOM_VARIABLES %] |
|
127 |
[%- IF var.name.match('^shop_') %] |
|
128 |
<tr> |
|
129 |
[%- IF !var.partsgroup_filtered %] |
|
130 |
<td align="right" valign="top">[% HTML.escape(var.description) %]</td> |
|
131 |
[%- END %] |
|
132 |
<td valign="top">[% var.HTML_CODE %]</td> |
|
133 |
</tr> |
|
134 |
[%- END %] |
|
135 |
[%- END %] |
|
136 |
</table> |
|
137 |
</p> |
|
138 |
</div> |
|
139 |
[%- END %] |
|
140 |
<div id="shop_images"> |
|
141 |
</div> |
|
85 | 142 |
</div> |
86 | 143 |
|
Auch abrufbar als: Unified diff
Shopmodul: ShopParts - Benutzerdefinierte Variablen mit Prefix 'shop_' werden im Reiter Shop Variables angezeigt und im Reiter Benutzerdefinierte Variablen NICHT angezeigt
Conflicts:
templates/webpages/ic/tabs/_shop.html
Conflicts:
templates/webpages/ic/tabs/_shop.html
templates/webpages/shop_part/edit.html