Removed number_format
This commit is contained in:
parent
a8839e0ef4
commit
93ba0717d8
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ class Asset extends Depreciable
|
|||
->max('asset_tag');
|
||||
|
||||
$asset_tag_digits = number_format(preg_replace('/\D/', '', $temp_asset_tag));
|
||||
$asset_tag = number_format(preg_replace('/^0*/', '', $asset_tag_digits));
|
||||
$asset_tag = preg_replace('/^0*/', '', $asset_tag_digits);
|
||||
|
||||
if ($settings->zerofill_count > 0) {
|
||||
return $settings->auto_increment_prefix.Asset::zerofill(($asset_tag + 1),$settings->zerofill_count);
|
||||
|
|
Loading…
Add table
Reference in a new issue