Changed the charge/receipt comments slightly to help clarify the intent.
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@18 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -651,7 +651,7 @@ foreach $row (@$result) {
|
|||||||
datefmt($row->{'ChargeDate'}), datefmt($row->{'EndDate'}),
|
datefmt($row->{'ChargeDate'}), datefmt($row->{'EndDate'}),
|
||||||
$row->{'ChargeAmount'}, $row->{'TaxAmount'},
|
$row->{'ChargeAmount'}, $row->{'TaxAmount'},
|
||||||
$row->{'ChargeAmount'} + $row->{'TaxAmount'},
|
$row->{'ChargeAmount'} + $row->{'TaxAmount'},
|
||||||
"ChargeID #".$row->{'ChargeID'})
|
"SiteLink Charges.ChargeID #".$row->{'ChargeID'})
|
||||||
)) . ")";
|
)) . ")";
|
||||||
query($db_handle, $query) || die("Unable to insert");
|
query($db_handle, $query) || die("Unable to insert");
|
||||||
|
|
||||||
@@ -680,7 +680,7 @@ foreach $row (@$result) {
|
|||||||
VALUES (" .
|
VALUES (" .
|
||||||
join(", ", map({defined $_ ? "'$_'" : "NULL"}
|
join(", ", map({defined $_ ? "'$_'" : "NULL"}
|
||||||
($rid, datefmt($row->{'ReceiptDate'}),
|
($rid, datefmt($row->{'ReceiptDate'}),
|
||||||
"ReceiptNum #".$row->{'ReceiptNum'})
|
"SiteLink Receipts.ReceiptNum #".$row->{'ReceiptNum'})
|
||||||
)) . ")";
|
)) . ")";
|
||||||
query($db_handle, $query) || die("Unable to insert");
|
query($db_handle, $query) || die("Unable to insert");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user