mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
v5.3.37
This commit is contained in:
parent
f6ac95378c
commit
adef375aaf
@ -1 +1 @@
|
||||
5.3.36
|
||||
5.3.37
|
@ -896,6 +896,7 @@ class CompanyImport implements ShouldQueue
|
||||
['quotes' => 'quote_id'],
|
||||
['subscriptions' => 'subscription_id'],
|
||||
['recurring_invoices' => 'recurring_invoice_id'],
|
||||
['recurring_expenses' => 'recurring_expense_id'],
|
||||
// ['invitations' => 'invitation_id'],
|
||||
],
|
||||
'activities');
|
||||
|
@ -136,7 +136,6 @@ class InvoiceService
|
||||
*/
|
||||
public function updateBalance($balance_adjustment, bool $is_draft = false)
|
||||
{
|
||||
// $this->invoice = (new UpdateBalance($this->invoice, $balance_adjustment, $is_draft))->run();
|
||||
|
||||
if ((bool)$this->invoice->is_deleted !== false) {
|
||||
nlog($this->invoice->number . " is deleted returning");
|
||||
@ -300,12 +299,6 @@ class InvoiceService
|
||||
if($this->invoice->status_id == Invoice::STATUS_DRAFT)
|
||||
return $this;
|
||||
|
||||
// if ((int)$this->invoice->balance == 0) {
|
||||
|
||||
// $this->setStatus(Invoice::STATUS_PAID)->workFlow();
|
||||
|
||||
// }
|
||||
|
||||
if ($this->invoice->balance > 0 && $this->invoice->balance < $this->invoice->amount) {
|
||||
$this->setStatus(Invoice::STATUS_PARTIAL);
|
||||
}
|
||||
|
@ -14,8 +14,8 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => '5.3.36',
|
||||
'app_tag' => '5.3.36',
|
||||
'app_version' => '5.3.37',
|
||||
'app_tag' => '5.3.37',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
Loading…
x
Reference in New Issue
Block a user