Lines 111-116
if ($do_it) {
Link Here
|
111 |
LEFT JOIN account_credit_types act ON (al.credit_type_code = act.code) |
111 |
LEFT JOIN account_credit_types act ON (al.credit_type_code = act.code) |
112 |
LEFT JOIN account_debit_types adt ON (al.debit_type_code = adt.code) |
112 |
LEFT JOIN account_debit_types adt ON (al.debit_type_code = adt.code) |
113 |
WHERE CAST(al.date AS DATE) BETWEEN ? AND ? |
113 |
WHERE CAST(al.date AS DATE) BETWEEN ? AND ? |
|
|
114 |
AND al.debit_type_code NOT IN (SELECT code FROM account_debit_types WHERE description = 'Void payment') |
114 |
$whereTType |
115 |
$whereTType |
115 |
$whereBranchCode |
116 |
$whereBranchCode |
116 |
$whereRegister |
117 |
$whereRegister |
117 |
- |
|
|