mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for check data
This commit is contained in:
parent
b690f30cc4
commit
3bc4dd17ae
@ -160,7 +160,7 @@ class CheckData extends Command
|
|||||||
$link = $invoice->getInvitationLink('view', true, true);
|
$link = $invoice->getInvitationLink('view', true, true);
|
||||||
$result = CurlUtils::phantom('GET', $link . '?phantomjs=true&phantomjs_balances=true&phantomjs_secret=' . env('PHANTOMJS_SECRET'));
|
$result = CurlUtils::phantom('GET', $link . '?phantomjs=true&phantomjs_balances=true&phantomjs_secret=' . env('PHANTOMJS_SECRET'));
|
||||||
$result = floatval(strip_tags($result));
|
$result = floatval(strip_tags($result));
|
||||||
$invoice->fresh();
|
$invoice = $invoice->fresh();
|
||||||
|
|
||||||
//$this->logMessage('Checking invoice: ' . $invoice->id . ' - ' . $invoice->balance);
|
//$this->logMessage('Checking invoice: ' . $invoice->id . ' - ' . $invoice->balance);
|
||||||
//$this->logMessage('Result: ' . $result);
|
//$this->logMessage('Result: ' . $result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user