diff --git a/models/statement_entry.php b/models/statement_entry.php index 356732b..d1e6710 100644 --- a/models/statement_entry.php +++ b/models/statement_entry.php @@ -435,13 +435,13 @@ OPTION 2 $credit['balance'] -= $payment_amount; $this->pr(20, compact('credit'), - (($credit['balance'] > 0 ? 'Utilized' : 'Exhausted') - ' ' . (count($credits) ? 'Credit' : 'Receipt'))); + ($credit['balance'] > 0 ? 'Utilized' : 'Exhausted') . + (count($credits) ? ' Credit' : ' Receipt')); if ($credit['balance'] < 0) die("HOW DID WE END UP WITH NEGATIVE SURPLUS BALANCE?"); - // If we've exhaused the credit, get it out of the + // If we've exhausted the credit, get it out of the // available credit pool (but keep track of it for later). if ($credit['balance'] <= 0 && count($credits)) $used_credits[] = array_shift($credits);