X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocate.php;h=50e9d6e6b23afb26e1297e917faa3a9e9729b870;hb=4deaa6ba6e084655989c30cfb7d9dd307408c7dc;hp=68a1ff43102285dcda74ec46604f8f2f2e220d90;hpb=a001646bef2b971535791d4e67b8565684d6de24;p=fa-stable.git
diff --git a/sales/allocations/customer_allocate.php b/sales/allocations/customer_allocate.php
index 68a1ff43..50e9d6e6 100644
--- a/sales/allocations/customer_allocate.php
+++ b/sales/allocations/customer_allocate.php
@@ -56,15 +56,14 @@ function edit_allocations_for_transaction($type, $trans_no)
display_heading($cart->person_name);
display_heading2(_("Date:") . " " . $cart->date_ . "");
- display_heading2(_("Total:"). " " . price_format($cart->bank_amount).' '.$cart->currency."");
if (floatcmp($cart->bank_amount, $cart->amount))
- {
- $total = _("Amount ot be settled:") . " " . price_format($cart->amount).' '.$cart->person_curr."";
- if ($cart->currency != $cart->person_curr)
- $total .= sprintf(" (%s %s/%s)", exrate_format($cart->bank_amount/$cart->amount), $cart->currency, $cart->person_curr);
- display_heading2($total);
- }
+ display_heading2(_("Total:"). " " . price_format($cart->bank_amount).' '.$cart->currency."");
+
+ $total = _("Amount to be settled:") . " " . ''.price_format($cart->amount).' '.$cart->person_curr."";
+ if ($cart->currency != $cart->person_curr)
+ $total .= sprintf(" (%s %s/%s)", exrate_format($cart->bank_amount/$cart->amount), $cart->currency, $cart->person_curr);
+ display_heading2($total);
echo "
";