Merge pull request #7127 from turbo124/master

Fixes for types
This commit is contained in:
David Bomba 2022-01-16 18:11:22 +11:00 committed by GitHub
commit e2c71df8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,6 @@ trait GenerateMigrationResources
'client_number_pattern' => $this->account->client_number_pattern ?: '', 'client_number_pattern' => $this->account->client_number_pattern ?: '',
'payment_number_pattern' => '', 'payment_number_pattern' => '',
'payment_number_counter' => 0, 'payment_number_counter' => 0,
'payment_terms' => $this->account->payment_terms ?: '',
'reset_counter_frequency_id' => $this->account->reset_counter_frequency_id ? (string) $this->transformFrequencyId 'reset_counter_frequency_id' => $this->account->reset_counter_frequency_id ? (string) $this->transformFrequencyId
($this->account->reset_counter_frequency_id) : '0', ($this->account->reset_counter_frequency_id) : '0',
'payment_type_id' => $this->account->payment_type_id ? (string) $this->transformPaymentType($this->account->payment_type_id) : '1', 'payment_type_id' => $this->account->payment_type_id ? (string) $this->transformPaymentType($this->account->payment_type_id) : '1',