Lines 112-118
if ( $op and $op eq 'new' ) {
Link Here
|
112 |
supplierid => $booksellerid, |
112 |
supplierid => $booksellerid, |
113 |
invoicenumber => $invoicenumber, |
113 |
invoicenumber => $invoicenumber, |
114 |
); |
114 |
); |
115 |
if ( $#invoices > 0 ) { |
115 |
if ( scalar @invoices > 0 ) { |
116 |
$template->{'VARS'}->{'duplicate_invoices'} = \@invoices; |
116 |
$template->{'VARS'}->{'duplicate_invoices'} = \@invoices; |
117 |
$template->{'VARS'}->{'invoicenumber'} = $invoicenumber; |
117 |
$template->{'VARS'}->{'invoicenumber'} = $invoicenumber; |
118 |
$template->{'VARS'}->{'shipmentdate'} = $shipmentdate; |
118 |
$template->{'VARS'}->{'shipmentdate'} = $shipmentdate; |
119 |
- |
|
|