snipe-it/resources/views
Daniel Meltzer 44683c784f Importer: Add License Importer and refactor (#3143)
* Major code simplification of the importers.

Move towards using Model::fill and Model::update rather than reinventing
the wheel.  This makes the updating/creating logic a lot clearer, and
allows for the deletion of a lot of code.  Also allows for supporting of
more fields in the future really easily.

* Cleanup constructors and use setters instead.

* Set the LC_MONETARY locale, and use it to strip currency symbols in Helper::parseFloat()

* Move licenseseat creation/deletion logic into an event handler on the model rather than the controller.

* Move the logging of parsed values to array_smart_fetch rather than writing it out everywhere

* Move to storing dates as carbon rather than strings.  Allows for the parsing of more arbitrary strings from the importer

* Add a license importer with support for checking out to users or assets.

* Make a directory for sample/mock import csvs and populate it

* Adjust how we store/retrieve dates to fix some issues the tests found.
2017-01-10 16:19:18 -08:00
..
accessories Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
account Present assetlogs (#3112) 2016-12-29 22:23:36 -08:00
admin Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
asset_maintenances Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
auth Use url() helper over URL::to 2016-12-15 16:41:36 -08:00
categories More minor fixes (#3126) 2017-01-03 16:55:43 -08:00
companies Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
components Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
consumables Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
custom_fields Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
depreciations Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
emails Use url() helper over URL::to 2016-12-15 16:41:36 -08:00
errors Use url() helper over URL::to 2016-12-15 16:41:36 -08:00
groups Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
hardware Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
layouts Removed stray poop 2016-12-29 17:26:21 -08:00
licenses Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
locations Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
manufacturers Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
models Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
paginator Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
partials Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
reports Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1 2016-12-29 16:20:17 -08:00
settings Fixes #1247 - allow SVG logo upload 2016-12-27 17:31:53 -08:00
setup Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
statuslabels Updated manufacturers, suppliers, depreciations for new route resources 2016-12-15 18:18:13 -08:00
suppliers Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
users Present assetlogs (#3112) 2016-12-29 22:23:36 -08:00
vendor Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
dashboard.blade.php Present assetlogs (#3112) 2016-12-29 22:23:36 -08:00
notifications.blade.php Translations and nicer formatting for login/password reset 2016-05-20 00:25:45 -07:00