Minor fixes for logging

This commit is contained in:
David Bomba 2021-11-04 16:00:49 +11:00
parent ab12e22ae9
commit 5ccbc0e1f0
3 changed files with 4 additions and 4 deletions

View File

@ -693,7 +693,7 @@ ORDER BY clients.id;
if ($ledger && (string) $invoice_balance != (string) $client['client_balance']) { if ($ledger && (string) $invoice_balance != (string) $client['client_balance']) {
$this->wrong_paid_to_dates++; $this->wrong_paid_to_dates++;
$client_object = Client::find($client['client_id']); $client_object = Client::withTrashed()->find($client['client_id']);
$this->logMessage($client_object->present()->name.' - '.$client_object->id." - calculated client balances do not match Invoice Balances = {$invoice_balance} - Client Balance = ".rtrim($client['client_balance'], '0'). " Ledger balance = {$ledger->balance}"); $this->logMessage($client_object->present()->name.' - '.$client_object->id." - calculated client balances do not match Invoice Balances = {$invoice_balance} - Client Balance = ".rtrim($client['client_balance'], '0'). " Ledger balance = {$ledger->balance}");

View File

@ -203,8 +203,8 @@ class PayFastPaymentDriver extends BaseDriver
{ {
$data = $request->all(); $data = $request->all();
nlog("payfast"); // nlog("payfast");
nlog($data); // nlog($data);
if(array_key_exists('m_payment_id', $data)) if(array_key_exists('m_payment_id', $data))
{ {

View File

@ -50,7 +50,7 @@ class ACH
$data = $request->all(); $data = $request->all();
// authorize the credit card // authorize the credit card
nlog($data); //nlog($data);
/* /*
'_token' => '1Fk5CRj34up5ntKPvrFyMIAJhDdUNF3boqT3iIN3', '_token' => '1Fk5CRj34up5ntKPvrFyMIAJhDdUNF3boqT3iIN3',
'company_gateway_id' => '39', 'company_gateway_id' => '39',