Work around for the fact that our implementation has issues with receipts of more than one tender. See the branch statement_ledger_entry_tie_20090802 for more information.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@470 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -143,7 +143,8 @@ function addPaymentSource(flash) {
|
|||||||
addDiv('payment-entry-id', 'payment', 'payments', flash,
|
addDiv('payment-entry-id', 'payment', 'payments', flash,
|
||||||
// HTML section
|
// HTML section
|
||||||
'<FIELDSET CLASS="payment subset">' +
|
'<FIELDSET CLASS="payment subset">' +
|
||||||
'<LEGEND>Payment #%{id} (%{remove})</LEGEND>' +
|
<?php /* '<LEGEND>Payment #%{id} (%{remove})</LEGEND>' + */ ?>
|
||||||
|
'<LEGEND>Payment</LEGEND>' +
|
||||||
|
|
||||||
'<DIV ID="payment-div-%{id}">' +
|
'<DIV ID="payment-div-%{id}">' +
|
||||||
<?php
|
<?php
|
||||||
@@ -354,14 +355,18 @@ echo $this->element('form_table',
|
|||||||
echo $form->submit('Generate Receipt') . "\n";
|
echo $form->submit('Generate Receipt') . "\n";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php /*
|
||||||
<fieldset CLASS="payment superset">
|
<fieldset CLASS="payment superset">
|
||||||
<legend>Payments</legend>
|
<legend>Payments</legend>
|
||||||
<input type="hidden" id="payment-entry-id" value="0">
|
<input type="hidden" id="payment-entry-id" value="0">
|
||||||
|
*/ ?>
|
||||||
<div id="payments"></div>
|
<div id="payments"></div>
|
||||||
|
<?php /*
|
||||||
<fieldset> <legend>
|
<fieldset> <legend>
|
||||||
<a href="#" onClick="addPaymentSource(true); return false;">Add Another Payment</a>
|
<a href="#" onClick="addPaymentSource(true); return false;">Add Another Payment</a>
|
||||||
</legend> </fieldset>
|
</legend> </fieldset>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
*/ ?>
|
||||||
|
|
||||||
<?php echo $form->end('Generate Receipt'); ?>
|
<?php echo $form->end('Generate Receipt'); ?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user