snipe-it/app/Http/Controllers
Daniel Meltzer 0c912bcf49 Fix more number_format madness.
This does two main things:
1) The importer now imports as numbers, not parsed strings.  This allows
is to format values on output instead of input, which is what was
happening in most places.

2) Add a Helper::parseCurrencyString method and port everything to use
this.  This checks to see if the value is numeric or empty, and returns
the appropriate value in all cases.  Should fix all known occurances of
number_format expections.
2016-08-16 20:41:28 -05:00
..
Auth Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
AccessoriesController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
AssetMaintenancesController.php Eager load asset query on maintenances to prevent n+1 queries 2016-08-11 15:56:21 -07:00
AssetModelsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
AssetsController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
CategoriesController.php Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
CompaniesController.php Use updated redirect() reference 2016-04-28 21:06:41 -07:00
ComponentsController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
ConsumablesController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Ability to remove field from fieldset 2016-07-28 08:10:15 -07:00
DashboardController.php More dashboard fixes 2016-05-18 19:48:19 -07:00
DepreciationsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
GroupsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
LicensesController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
LocationsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
ManufacturersController.php Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
ProfileController.php Use updated redirect() reference 2016-04-28 21:06:41 -07:00
ReportsController.php Fix more number_format madness. 2016-08-16 20:41:28 -05:00
SettingsController.php Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
StatuslabelsController.php Added custom color to status labels, only show status labels if there are results 2016-08-02 13:25:50 -07:00
SuppliersController.php Fix for missing input variable in suppliers ajax method 2016-07-13 22:35:21 -07:00
UsersController.php Better handling for deleted users 2016-08-02 04:23:13 -07:00
ViewAssetsController.php Removed unused use statement 2016-07-10 21:01:11 -07:00