You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
407 B

  1. ::use 'contractadmin/design.mtt'::
  2. <h3>::_("Products")::</h3>
  3. <table class="table">
  4. ::foreach p c.getProducts()::
  5. <tr>
  6. <td>
  7. <img src="::p.getImage()::" style="width:64px;height:64px;" />
  8. </td>
  9. <td>$$nullSafe(::p.ref::)</td>
  10. <td>::p.name::</td>
  11. <td>::p.stock::</td>
  12. <td>
  13. $$edit(modifier,/product/edit/::p.id::)
  14. </td>
  15. </tr>
  16. ::end::
  17. </table>
  18. ::end::