Seeds corregidas
This commit is contained in:
@ -502,6 +502,9 @@ use Phinx\Seed\AbstractSeed;
|
||||
if ($value === null) {
|
||||
$value = 'null';
|
||||
}
|
||||
if (strlen($value) > 2 and str_starts_with($value, '0')) {
|
||||
$value = "'{$value}'";
|
||||
}
|
||||
$output []= "\t\t\t\t'{$key}' => {$value},";
|
||||
}
|
||||
$output []= "\t\t\t],";
|
||||
|
@ -35,7 +35,7 @@ class CuentaSeeder extends AbstractSeed
|
||||
'id' => 5,
|
||||
'inmobiliaria' => 76743916,
|
||||
'banco' => 9,
|
||||
'cuenta' => 0213013213,
|
||||
'cuenta' => '0213013213',
|
||||
],
|
||||
[
|
||||
'id' => 6,
|
||||
|
@ -62,7 +62,7 @@ class InmobiliariaSeeder extends AbstractSeed
|
||||
'dv' => 4,
|
||||
'razon' => 'Inmobiliaria Incoviba Optimus',
|
||||
'abreviacion' => 'Optimus',
|
||||
'cuenta' => 0213013213,
|
||||
'cuenta' => '0213013213',
|
||||
'banco' => 9,
|
||||
'sociedad' => 1,
|
||||
'sigla' => 'OPT',
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user