projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kunden/Lieferanten-Suche: Erfassen-Button überarbeitet
[kivitendo-erp.git]
/
bin
/
mozilla
/
invoice_io.pl
diff --git
a/bin/mozilla/invoice_io.pl
b/bin/mozilla/invoice_io.pl
index
5f6c141
..
7ff0347
100644
(file)
--- a/
bin/mozilla/invoice_io.pl
+++ b/
bin/mozilla/invoice_io.pl
@@
-146,7
+146,7
@@
sub display_form {
$main::auth->assert('part_service_assembly_edit | vendor_invoice_edit | sales_order_edit | invoice_edit |' .
'request_quotation_edit | sales_quotation_edit | purchase_order_edit | '.
$main::auth->assert('part_service_assembly_edit | vendor_invoice_edit | sales_order_edit | invoice_edit |' .
'request_quotation_edit | sales_quotation_edit | purchase_order_edit | '.
- 'purchase_delivery_order_edit | sales_delivery_order_edit');
+ 'purchase_delivery_order_edit | sales_delivery_order_edit
| part_service_assembly_details
');
relink_accounts();
retrieve_partunits() if ($form->{type} =~ /_delivery_order$/);
relink_accounts();
retrieve_partunits() if ($form->{type} =~ /_delivery_order$/);
@@
-224,8
+224,11
@@
sub display_form {
$numrows = ++$form->{makemodel_rows};
$subroutine = "makemodel_row";
$numrows = ++$form->{makemodel_rows};
$subroutine = "makemodel_row";
+ # assemblies are built from components, they aren't purchased from a vendor
+ # also the lastcost_$i from makemodel conflicted with the component lastcost_$i
+ # so we don't need the makemodel rows for assemblies
# create makemodel rows
# create makemodel rows
- &{$subroutine}($numrows);
+
#
&{$subroutine}($numrows);
$numrows = ++$form->{assembly_rows};
$subroutine = "assembly_row";
$numrows = ++$form->{assembly_rows};
$subroutine = "assembly_row";