diff --git a/app/Http/Requests/Payment/UpdatePaymentRequest.php b/app/Http/Requests/Payment/UpdatePaymentRequest.php index ed6f19c2cf64..766aae657d82 100644 --- a/app/Http/Requests/Payment/UpdatePaymentRequest.php +++ b/app/Http/Requests/Payment/UpdatePaymentRequest.php @@ -73,7 +73,9 @@ class UpdatePaymentRequest extends Request if (isset($input['invoices']) && is_array($input['invoices']) !== false) { foreach ($input['invoices'] as $key => $value) { - $input['invoices'][$key]['invoice_id'] = $this->decodePrimaryKey($value['invoice_id']); + + if(array_key_exists('invoice_id', $input['invoices'][$key])) + $input['invoices'][$key]['invoice_id'] = $this->decodePrimaryKey($value['invoice_id']); } } $this->replace($input); diff --git a/database/migrations/2022_05_30_184320_add_job_related_fields_to_schedulers_table.php b/database/migrations/2022_05_30_184320_add_job_related_fields_to_schedulers_table.php index 74eb19fed7ab..36f877cc2b76 100644 --- a/database/migrations/2022_05_30_184320_add_job_related_fields_to_schedulers_table.php +++ b/database/migrations/2022_05_30_184320_add_job_related_fields_to_schedulers_table.php @@ -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(); }); } diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 99a10c3303b9..b79858bc4e3b 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -152,6 +152,20 @@ + + + +