mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge pull request #4464 from turbo124/v5-develop
Fixes for version check + schema fixes
This commit is contained in:
commit
b6a384737e
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
|
use App\Jobs\Util\VersionCheck;
|
||||||
use Composer\Console\Application;
|
use Composer\Console\Application;
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
use Illuminate\Support\Facades\Artisan;
|
||||||
@ -66,6 +67,8 @@ class PostUpdate extends Command
|
|||||||
$application->setAutoExit(false);
|
$application->setAutoExit(false);
|
||||||
$application->run($input);
|
$application->run($input);
|
||||||
|
|
||||||
|
VersionCheck::dispatch();
|
||||||
|
|
||||||
echo "Done.";
|
echo "Done.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,10 @@ class QuoteTransformer extends EntityTransformer
|
|||||||
'custom_surcharge2' => (float) $quote->custom_surcharge2,
|
'custom_surcharge2' => (float) $quote->custom_surcharge2,
|
||||||
'custom_surcharge3' => (float) $quote->custom_surcharge3,
|
'custom_surcharge3' => (float) $quote->custom_surcharge3,
|
||||||
'custom_surcharge4' => (float) $quote->custom_surcharge4,
|
'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) [],
|
'line_items' => $quote->line_items ?: (array) [],
|
||||||
'entity_type' => 'quote',
|
'entity_type' => 'quote',
|
||||||
'exchange_rate' => (float) $quote->exchange_rate,
|
'exchange_rate' => (float) $quote->exchange_rate,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user