Revision ebd668c1
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
175 | 175 |
# position of serialnr is used below! |
176 | 176 |
my @row2_sort = qw( |
177 | 177 |
tax_chart tax serialnr projectnr reqdate subtotal recurring_billing_mode marge listprice lastcost onhand |
178 |
orderer |
|
178 | 179 |
); |
179 | 180 |
# serialnr is important for delivery_orders |
180 | 181 |
if ($form->{type} eq 'sales_delivery_order') { |
... | ... | |
212 | 213 |
vendor_partnumber => { width => 8, value => $locale->text('Vendor Part Number'), display => $is_delivery_order && $is_purchase, }, |
213 | 214 |
tax_chart => { value => "", display => $is_purchase && $is_invoice }, |
214 | 215 |
tax => { value => $locale->text('Tax'), display => $is_purchase && $is_invoice }, |
216 |
orderer => { width => 10, value => $locale->text('Orderer'), display => 1, }, |
|
215 | 217 |
); |
216 | 218 |
my @HEADER = map { $column_def{$_} } @header_sort; |
217 | 219 |
|
... | ... | |
497 | 499 |
default => $::form->{"recurring_billing_mode_$i"} || 'always', |
498 | 500 |
); |
499 | 501 |
|
502 |
# Orderer |
|
503 |
$column_data{orderer} = qq|: $form->{"orderer_$i"}|; |
|
504 |
|
|
500 | 505 |
# begin marge calculations |
501 | 506 |
$form->{"lastcost_$i"} *= 1; |
502 | 507 |
$form->{"marge_percent_$i"} = 0; |
... | ... | |
580 | 585 |
$cgi->hidden("-name" => "price_new_$i", "-value" => $form->format_amount(\%myconfig, $form->{"price_new_$i"})), |
581 | 586 |
map { ($cgi->hidden("-name" => $_, "-id" => $_, "-value" => $form->{$_})); } map { $_."_$i" } |
582 | 587 |
(qw(bo price_old id inventory_accno bin partsgroup partnotes active_price_source active_discount_source |
588 |
orderer_id |
|
583 | 589 |
income_accno expense_accno listprice part_type taxaccounts ordnumber donumber transdate cusordnumber |
584 | 590 |
longdescription basefactor marge_absolut marge_percent marge_price_factor weight), @hidden_vars) |
585 | 591 |
); |
Auch abrufbar als: Unified diff
Besteller zu Auftrags- und Lieferscheinpositionen hinzugefügt