X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_payments.php;fp=sales%2Fcustomer_payments.php;h=4e707158c7c580d7181248f0814bfefeaf44b4fc;hb=8597db529c1b855fb886f33557f9b5a93620913a;hp=549062589b3f52b97c2edd7f733441c537a77221;hpb=8e7a7db36e3ebac2b035c5aa2a222e94ff19bdbd;p=fa-stable.git diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 54906258..4e707158 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -249,14 +249,6 @@ if (isset($_POST['_customer_id_button'])) { //---------------------------------------------------------------------------------------------- if (get_post('AddPaymentItem') && can_process()) { - - $cust_currency = get_customer_currency($_POST['customer_id']); - $bank_currency = get_bank_account_currency($_POST['bank_account']); - $comp_currency = get_company_currency(); -// if ($comp_currency != $bank_currency && $bank_currency != $cust_currency) -// $rate = 0; -// else -// $rate = input_num('_ex_rate'); new_doc_date($_POST['DateBanked']);