]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/_makemodel_row.html
date error in mapping
[mfinanz.git] / templates / webpages / part / _makemodel_row.html
index 8e7308ca4a22aa06bf4fb6c75c1bb60d12d076b3..8a3e354b49a00f45871a965c10f7f941ae540399 100644 (file)
          </td>
          <td>[% makemodel.vendor.vendornumber | html %]</td>
          <td>[% makemodel.vendor.name         | html %] </td>
-         <td>[% L.input_tag('makemodels[].model'              , makemodel.model                   , size=30 ) %]</td>
-         <td>[% L.input_tag('makemodels[].lastcost_as_number' , makemodel.lastcost_as_number      , size=15 , class="reformat_number numeric") %]</td>
-         <td>[% L.hidden_tag('makemodels[].lastupdate'         , makemodel.lastupdate.to_kivitendo) %][% makemodel.lastupdate.to_kivitendo | html %]</td>
+         <td>[% L.input_tag('makemodels[].model'                   , makemodel.model               , size=30 ) %]</td>
+         <td>[% L.input_tag('makemodels[].part_description'        , makemodel.part_description    , size=30 ) %]</td>
+         <td>[% L.areainput_tag('makemodels[].part_longdescription', makemodel.part_longdescription, size=30 ) %]</td>
+         <td>
+          [% IF (AUTH.assert('part_service_assembly_edit_prices', 'may_fail')) %]
+           [% L.input_tag('makemodels[].lastcost_as_number'        , makemodel.lastcost_as_number  , size=15 , class="reformat_number numeric") %]
+          [% ELSE %]
+           <span class="numeric">[% makemodel.lastcost_as_number %]</span>
+          [% END %]
+         </td>
+         <td>[% L.hidden_tag('makemodels[].lastupdate'             , makemodel.lastupdate.to_kivitendo) %][% makemodel.lastupdate.to_kivitendo | html %]</td>
         </tr>