mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for check data script
This commit is contained in:
parent
d881e7cea1
commit
1338a5e558
@ -333,7 +333,8 @@ class CheckData extends Command
|
||||
$credit_total_applied += $payment->paymentables->where('paymentable_type', App\Models\Credit::class)->sum(\DB::raw('amount'));
|
||||
}
|
||||
|
||||
//$total_invoice_payments += $credit_total_applied; //todo this is contentious
|
||||
if($credit_total_applied < 0)
|
||||
$total_invoice_payments += $credit_total_applied; //todo this is contentious
|
||||
|
||||
info("total invoice payments = {$total_invoice_payments} with client paid to date of of {$client->paid_to_date}");
|
||||
|
||||
|
@ -27,12 +27,11 @@
|
||||
"php": ">=7.3",
|
||||
"ext-json": "*",
|
||||
"asgrim/ofxparser": "^1.2",
|
||||
"checkout/checkout-sdk-php": "^1.0",
|
||||
"authorizenet/authorizenet": "^2.0",
|
||||
"checkout/checkout-sdk-php": "^1.0",
|
||||
"cleverit/ubl_invoice": "^1.3",
|
||||
"composer/composer": "^1.10",
|
||||
"czproject/git-php": "^3.17",
|
||||
"turbo124/laravel-gmail": "^5.0",
|
||||
"doctrine/dbal": "^2.10",
|
||||
"fedeisas/laravel-mail-css-inliner": "^3",
|
||||
"fideloper/proxy": "^4.2",
|
||||
@ -46,6 +45,7 @@
|
||||
"laravel/slack-notification-channel": "^2.2",
|
||||
"laravel/socialite": "^5",
|
||||
"laravel/tinker": "^2.0",
|
||||
"laravel/ui": "^3.0",
|
||||
"league/flysystem-aws-s3-v3": "~1.0",
|
||||
"league/flysystem-cached-adapter": "^1.1",
|
||||
"league/fractal": "^0.17.0",
|
||||
@ -60,8 +60,8 @@
|
||||
"staudenmeir/eloquent-has-many-deep": "^1.11",
|
||||
"stripe/stripe-php": "^7.50",
|
||||
"turbo124/beacon": "^1",
|
||||
"webpatser/laravel-countries": "dev-master#75992ad",
|
||||
"laravel/ui": "^3.0"
|
||||
"turbo124/laravel-gmail": "^5.0",
|
||||
"webpatser/laravel-countries": "dev-master#75992ad"
|
||||
},
|
||||
"require-dev": {
|
||||
"anahkiasen/former": "^4.2",
|
||||
|
461
composer.lock
generated
461
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user