Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f5645eed

Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt

  • ID f5645eedb4e8de944eb16c966e9b8b69677eb925
  • Vorgänger 2ec0ac19
  • Nachfolger a8787a29

Artikelbeschreibung bei Lieferantenartikelnummern: Speichern im Artikelstamm

Unterschiede anzeigen:

SL/Controller/Part.pm
id => $id,
make => $makemodel->{make},
model => $makemodel->{model} || '',
part_description => $makemodel->{part_description},
lastcost => $::form->parse_amount(\%::myconfig, $makemodel->{lastcost_as_number}),
sortorder => $position,
);
templates/webpages/part/_makemodel.html
<th class="listheading" style='width:12em'>[% 'Vendor Number' | $T8 %]</th>
<th class="listheading">[% 'Vendor' | $T8 %]</th>
<th class="listheading">[% 'Model' | $T8 %]</th>
<th class="listheading">[% 'Part Description' | $T8 %]</th>
<th class="listheading">[% 'Last Cost' | $T8 %]</th>
<th class="listheading">[% 'Updated' | $T8 %]</th>
</tr>
templates/webpages/part/_makemodel_row.html
<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[].part_description' , makemodel.part_description , 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>
</tr>

Auch abrufbar als: Unified diff