1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #4464 from turbo124/v5-develop

Fixes for version check + schema fixes
This commit is contained in:
David Bomba 2020-12-10 21:48:39 +11:00 committed by GitHub
commit b6a384737e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,7 @@
namespace App\Console\Commands;
use App\Jobs\Util\VersionCheck;
use Composer\Console\Application;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
@ -66,6 +67,8 @@ class PostUpdate extends Command
$application->setAutoExit(false);
$application->run($input);
VersionCheck::dispatch();
echo "Done.";
}
}

View File

@ -130,7 +130,10 @@ class QuoteTransformer extends EntityTransformer
'custom_surcharge2' => (float) $quote->custom_surcharge2,
'custom_surcharge3' => (float) $quote->custom_surcharge3,
'custom_surcharge4' => (float) $quote->custom_surcharge4,
'custom_surcharge_taxes' => (bool) $quote->custom_surcharge_taxes,
'custom_surcharge_tax1' => (bool) $quote->custom_surcharge_tax1,
'custom_surcharge_tax2' => (bool) $quote->custom_surcharge_tax2,
'custom_surcharge_tax3' => (bool) $quote->custom_surcharge_tax3,
'custom_surcharge_tax4' => (bool) $quote->custom_surcharge_tax4,
'line_items' => $quote->line_items ?: (array) [],
'entity_type' => 'quote',
'exchange_rate' => (float) $quote->exchange_rate,