This commit is contained in:
David Bomba 2024-01-04 21:29:33 +11:00
parent 472d264768
commit 8d07c4d2c5
3 changed files with 9 additions and 4 deletions

View File

@ -1 +1 @@
5.8.0 5.8.1

View File

@ -107,7 +107,12 @@ class PaymentRepository extends BaseRepository
} }
/*Fill the payment*/ /*Fill the payment*/
$payment->fill($data); $fill_data = $data;
if($this->import_mode && isset($fill_data['invoices']))
unset($fill_data['invoices']);
$payment->fill($fill_data);
$payment->is_manual = true; $payment->is_manual = true;
$payment->status_id = Payment::STATUS_COMPLETED; $payment->status_id = Payment::STATUS_COMPLETED;

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true), 'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.7.63'), 'app_version' => env('APP_VERSION', '5.8.1'),
'app_tag' => env('APP_TAG', '5.7.63'), 'app_tag' => env('APP_TAG', '5.8.1'),
'minimum_client_version' => '5.0.16', 'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1', 'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false), 'api_secret' => env('API_SECRET', false),