Daniel Meltzer
a852c624d3
Fix 2347 ( #2394 )
...
* Prevent multiple checkouts of the same asset.
This adds a new method to the Asset model, availableForCheckout.
Port getDataTable to use availableForCheckout instead of doing the
check manually.
Fixes Issue #2347
* Use availableForCheckout in categories controller. Also gate the checkin/checkout actions here.
* Use gate and availableForCheckout in manufactuers as well.
2016-08-16 13:02:42 -07:00
Daniel Meltzer
a401986ef5
Only set the category_type in postEdit if the category is empty. ( #2337 )
...
Fixes #2333
2016-07-27 16:13:54 -07:00
snipe
7a4cbce460
Use trans instead of lang::
2016-07-10 21:07:59 -07:00
snipe
4ed8ff5576
Formatting fixes for coding standards
2016-06-22 12:27:41 -07:00
snipe
845b182fdf
Fixes format for users in category view
2016-06-09 02:26:43 -07:00
snipe
f8ac9a3f77
Fixes #2110
2016-06-03 11:48:20 -07:00
Daniel Meltzer
1148750c9a
Make limit/offset work in getDataView
2016-05-19 21:45:48 -05:00
snipe
47c70141c7
Gross copypasta fix for #1932
2016-05-18 19:08:16 -07:00
snipe
631aade6c4
Cleaned up language strings for categories
2016-05-17 21:16:12 -07:00
snipe
63f4bbe412
Temporarily remove clone option from categories view
2016-05-14 18:06:49 -07:00
snipe
062cbeb18f
Fixed bug in categories asset listing for hardware
2016-05-12 10:39:19 -07:00
snipe
ba01b20ad4
Use updated redirect() reference
2016-04-28 21:06:41 -07:00
snipe
b6fa3a2a89
Added todos, fixed ID casing
2016-04-07 17:23:52 -07:00
snipe
4b168e8cfa
Fixes #1932 - disallow category delete if there are assets/accessories/etc
2016-04-07 17:15:30 -07:00
snipe
bf728da39d
Updated to use 5.2 trans() instead of Lang::get for localization
2016-04-07 13:39:35 -07:00
snipe
a62859dc6d
Updated docblocks
2016-04-07 13:21:09 -07:00
snipe
f1558706ff
Updated docblocks
2016-03-25 18:07:12 -07:00
snipe
bddb7fca23
Additional doc blocks, added private_uploads path
2016-03-25 15:50:08 -07:00
snipe
27543d16f6
Additional escaping
2016-03-25 15:24:12 -07:00
snipe
fe00b0e401
Version 3 - hold onto your butts
2016-03-25 01:18:05 -07:00