Revision 38aac441
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1151 | 1151 |
) : undef, |
1152 | 1152 |
($form->{type} eq 'invoice' && $form->{storno}) ? ( |
1153 | 1153 |
opthash("storno_invoice", $form->{PD}{storno_invoice}, $locale->text('Storno Invoice')), |
1154 |
opthash("storno_packing_list", $form->{PD}{storno_packing_list}, $locale->text('Storno Packing List')) |
|
1155 | 1154 |
) : undef, |
1156 | 1155 |
($form->{type} =~ /_delivery_order$/) ? ( |
1157 | 1156 |
opthash($form->{type}, $form->{PD}{$form->{type}}, $locale->text('Delivery Order')), |
... | ... | |
1297 | 1296 |
if ($form->{formname} eq "invoice") { |
1298 | 1297 |
$form->{label} = $locale->text('Invoice'); |
1299 | 1298 |
} |
1300 |
if ($form->{formname} eq "packing_list") { |
|
1301 |
|
|
1302 |
# this is from an invoice |
|
1303 |
$form->{label} = $locale->text('Packing List'); |
|
1304 |
} |
|
1305 | 1299 |
if ($form->{formname} eq 'sales_order') { |
1306 | 1300 |
$inv = "ord"; |
1307 | 1301 |
$due = "req"; |
... | ... | |
1331 | 1325 |
$order = 1; |
1332 | 1326 |
} |
1333 | 1327 |
|
1334 |
if ($form->{formname} eq 'packing_list' && $form->{type} ne 'invoice') { |
|
1335 |
|
|
1336 |
# we use the same packing list as from an invoice |
|
1337 |
$inv = "ord"; |
|
1338 |
$due = "req"; |
|
1339 |
$form->{invdate} = $form->{"${inv}date"} = $form->{transdate}; |
|
1340 |
$form->{label} = $locale->text('Packing List'); |
|
1341 |
$order = 1; |
|
1342 |
# set invnumber for template packing_list |
|
1343 |
$form->{invnumber} = $form->{ordnumber}; |
|
1344 |
} |
|
1345 | 1328 |
if ($form->{formname} eq 'purchase_order') { |
1346 | 1329 |
$inv = "ord"; |
1347 | 1330 |
$due = "req"; |
... | ... | |
1402 | 1385 |
|
1403 | 1386 |
# $locale->text('Invoice Number missing!') |
1404 | 1387 |
# $locale->text('Invoice Date missing!') |
1405 |
# $locale->text('Packing List Number missing!') |
|
1406 |
# $locale->text('Packing List Date missing!') |
|
1407 | 1388 |
# $locale->text('Order Number missing!') |
1408 | 1389 |
# $locale->text('Order Date missing!') |
1409 | 1390 |
# $locale->text('Quotation Number missing!') |
Auch abrufbar als: Unified diff
Vorlagentyp "packing_list" gibt es nicht mehr
Wurde ursprünglich als Lieferschein aus Rechnung heraus
ausgedruckt. Wird von der Funktionalität her von Einkaufs- und
Verkaufslieferscheinen ersetzt.