make sure notify is int
This commit is contained in:
parent
f58a15034a
commit
a90f6a86ab
@ -13,6 +13,15 @@ class BillHistories extends Import
|
|||||||
return new Model($row);
|
return new Model($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function map($row): array
|
||||||
|
{
|
||||||
|
$row = parent::map($row);
|
||||||
|
|
||||||
|
$row['notify'] = (int) $row['notify'];
|
||||||
|
|
||||||
|
return $row;
|
||||||
|
}
|
||||||
|
|
||||||
public function rules(): array
|
public function rules(): array
|
||||||
{
|
{
|
||||||
return (new Request())->rules();
|
return (new Request())->rules();
|
||||||
|
@ -13,6 +13,15 @@ class InvoiceHistories extends Import
|
|||||||
return new Model($row);
|
return new Model($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function map($row): array
|
||||||
|
{
|
||||||
|
$row = parent::map($row);
|
||||||
|
|
||||||
|
$row['notify'] = (int) $row['notify'];
|
||||||
|
|
||||||
|
return $row;
|
||||||
|
}
|
||||||
|
|
||||||
public function rules(): array
|
public function rules(): array
|
||||||
{
|
{
|
||||||
return (new Request())->rules();
|
return (new Request())->rules();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user