package_type
This commit is contained in:
parent
a64f6e58f8
commit
28f2b3bbca
@ -115,7 +115,7 @@ class PackageService extends Service
|
|||||||
|
|
||||||
$attributes['cost_price'] = intval($attributes['cost_price'] * 100);
|
$attributes['cost_price'] = intval($attributes['cost_price'] * 100);
|
||||||
$attributes['guide_price'] = intval($attributes['guide_price'] * 100);
|
$attributes['guide_price'] = intval($attributes['guide_price'] * 100);
|
||||||
$attributes['package_type'] = $attributes['package_type'] ?? 255;
|
$attributes['package_type'] = intval($attributes['package_type']);
|
||||||
|
|
||||||
if (!$attributes['id']) {
|
if (!$attributes['id']) {
|
||||||
$maxId = Package::withTrashed()->max('id');
|
$maxId = Package::withTrashed()->max('id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user