mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #7576 from turbo124/v5-develop
Fixes for json columns
This commit is contained in:
commit
4b14b33653
@ -73,6 +73,8 @@ class UpdatePaymentRequest extends Request
|
||||
|
||||
if (isset($input['invoices']) && is_array($input['invoices']) !== false) {
|
||||
foreach ($input['invoices'] as $key => $value) {
|
||||
|
||||
if(array_key_exists('invoice_id', $input['invoices'][$key]))
|
||||
$input['invoices'][$key]['invoice_id'] = $this->decodePrimaryKey($value['invoice_id']);
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ class AddJobRelatedFieldsToSchedulersTable extends Migration
|
||||
Schema::table('schedulers', function (Blueprint $table) {
|
||||
$table->string('action_name')->index();
|
||||
$table->string('action_class');
|
||||
$table->json('parameters')->nullable();
|
||||
$table->mediumText('parameters')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -152,6 +152,20 @@
|
||||
|
||||
<script defer src="{{ $path }}?v={{ config('ninja.app_version') }}" type="application/javascript"></script>
|
||||
|
||||
|
||||
<script type="text/javascript"
|
||||
src="https://alcdn.msauth.net/browser/2.14.2/js/msal-browser.min.js"
|
||||
integrity="sha384-ggh+EF1aSqm+Y4yvv2n17KpurNcZTeYtUZUvhPziElsstmIEubyEB6AIVpKLuZgr"
|
||||
crossorigin="anonymous">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
if (location.hash.includes("code")) {
|
||||
new msal.PublicClientApplication({auth: {clientId: "1023b9ce-5b09-4f04-98f8-e1ed85a72332"}});
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<center style="padding-top: 150px" id="loader">
|
||||
<div class="loader"></div>
|
||||
</center>
|
||||
|
Loading…
x
Reference in New Issue
Block a user