code from amapei

This commit is contained in:
cagette@ct8
2020-09-26 18:25:18 +00:00
parent 42fe367911
commit 72b4699871
1966 changed files with 220437 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
::use 'contractadmin/design.mtt'::
<h3>::_("Products")::</h3>
<table class="table">
::foreach p c.getProducts()::
<tr>
<td>
<img src="::p.getImage()::" style="width:64px;height:64px;" />
</td>
<td>$$nullSafe(::p.ref::)</td>
<td>::p.name::</td>
<td>::p.stock::</td>
<td>
$$edit(modifier,/product/edit/::p.id::)
</td>
</tr>
::end::
</table>
::end::