- if ($_SESSION['supp_trans']->ov_amount < ($total_gl_value + $total_grn_value))
- {
- display_error(_("The credit note total as entered is less than the sum of the the general ledger entires (if any) and the charges for goods received. There must be a mistake somewhere, the credit note as entered will not be processed."));
- return false;
- }
-