[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [748] branches/1.2/LedgerSMB/OE.pm
- Subject: SF.net SVN: ledger-smb: [748] branches/1.2/LedgerSMB/OE.pm
- From: ..hidden..
- Date: Fri, 08 Dec 2006 11:26:06 -0800
Revision: 748
http://svn.sourceforge.net/ledger-smb/?rev=748&view=rev
Author: einhverfr
Date: 2006-12-08 11:26:05 -0800 (Fri, 08 Dec 2006)
Log Message:
-----------
Fixing bug 1611223
Modified Paths:
--------------
branches/1.2/LedgerSMB/OE.pm
Modified: branches/1.2/LedgerSMB/OE.pm
===================================================================
--- branches/1.2/LedgerSMB/OE.pm 2006-12-08 19:25:36 UTC (rev 747)
+++ branches/1.2/LedgerSMB/OE.pm 2006-12-08 19:26:05 UTC (rev 748)
@@ -59,7 +59,7 @@
if ($form->{type} =~ /_quotation$/) {
$quotation = '1';
$ordnumber = 'quonumber';
- }
+ }
my $number = $form->like(lc $form->{$ordnumber});
my $name = $form->like(lc $form->{$form->{vc}});
@@ -378,8 +378,9 @@
my $rowcount = $form->{rowcount};
for my $i (1 .. $rowcount) {
+ $form->{"ship_$i"} = 0 unless $form->{"ship_$i"};
$form->db_prepare_vars("orderitems_id_$i", "id_$i",
- "description_$i", "project_id_$i", "ship_$i");
+ "description_$i", "project_id_$i");
for (qw(qty ship)) {
$form->{"${_}_$i"} = $form->parse_amount(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.