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