Abdullah Alansari
08781a561b
Fix: use global scope for companies support
...
Use Eloquent ORM global scope instead of using
Company::scopeCompanayables() all over the place.
In addition, this makes it harder to for a user
that is assigned to a company to access unauthorized
assets through other entities (e.g: license seats)
2015-11-18 16:49:34 +03:00
Abdullah Alansari
b202e01205
Add full multiple companies support
...
Added as an option in settings.
When enabled, users (including admins) who are assigned
to companies have access only to their companies' assets.
2015-11-16 06:03:27 +03:00
Abdullah Alansari
23d10a8f7f
Make company field optional
...
Company field is now optional for the user,
although still required in the controllers.
2015-11-13 09:19:18 +03:00
Abdullah Alansari
d8df61bd32
Merge remote-tracking branch 'upstream/develop' into multiple-companies
...
Conflicts:
app/controllers/admin/UsersController.php
app/views/backend/hardware/index.blade.php
2015-11-12 09:30:11 +03:00
snipe
2afc252549
Link to category listing from accessories
2015-11-11 17:43:24 -08:00
Abdullah Alansari
6bf2a2875f
Add initial support for multiple companies
...
You can find screenshots and other files
related to the feature on Dropbox here:
https://www.dropbox.com/sh/wugnzqepwgzwlnh/AAAwNWA5hIKrP0y2VTu-LMHHa?dl=0
https://github.com/snipe/snipe-it/issues/23
2015-11-07 15:22:10 +03:00
snipe
dba7983189
Added new fields to index view
2015-10-21 23:07:23 -07:00
snipe
5ff75e7f42
Merge remote-tracking branch 'origin/develop-bootstrap-tables-integration' into develop
...
# Conflicts:
# app/controllers/admin/CategoriesController.php
# app/views/backend/accessories/view.blade.php
# app/views/backend/categories/index.blade.php
# app/views/backend/settings/edit.blade.php
2015-10-21 23:06:43 -07:00
snipe
69c95f1f73
Merge pull request #1225 from ddreier/1088-acc-prices
...
Accessory and Consumable Price info #1088
2015-10-21 22:44:14 -07:00
snipe
def6b4ff50
Categories for accessories in #1266
2015-10-21 13:48:52 -07:00
snipe
b492ac4950
Merge branch 'bootstrap-table-experiment' into develop-bootstrap-tables-integration
...
# Conflicts:
# .gitignore
# app/controllers/admin/AccessoriesController.php
# app/controllers/admin/AssetsController.php
# app/controllers/admin/LicensesController.php
# app/models/Accessory.php
# app/models/Asset.php
# app/routes.php
# app/views/backend/accessories/index.blade.php
# app/views/backend/accessories/view.blade.php
# app/views/backend/hardware/index.blade.php
# app/views/backend/licenses/index.blade.php
2015-10-20 17:52:02 -07:00
snipe
66fd0c2315
Fixes #1232 - adds category to accessory listing view
2015-10-09 13:22:36 -07:00
Daniel Dreier
73d4c65daf
Finished work on #1088 . Added info to view, translation strings and logic to controllers.
2015-10-06 19:29:44 -05:00
madd15
567ad6c3bb
Switch to new method
2015-08-18 14:11:03 +09:30
madd15
6d96d6cba4
Add email to postCheckin
2015-07-24 10:22:54 +09:30
madd15
e4277b47e8
Add extra fields for email
2015-07-24 09:27:44 +09:30
madd15
89df6fc6da
Change user list from email to username
2015-07-20 10:15:28 +09:30
madd15
0f489b34b5
Change user list to include email address
2015-07-16 10:22:19 +09:30
snipe
19604480bb
Consumables section
...
TODO:
- Add checkout to location
- Drop Checkin (doesn't really exist in this context)
- Add missing strings - consolidate where possible. Lots of dupes :-/
2015-06-09 19:50:34 -07:00
snipe
7556f989df
Accessories Slack integration
2015-04-30 20:53:44 -07:00
snipe
6a7fcd5c40
Fixes #769 - set sort order for Accessory Category
2015-04-29 13:54:54 -07:00
madd15
7f03c7538f
Convert Accessories View to use Datatable
2015-03-25 12:03:47 +10:30
madd15
abf91c7b29
Update for dataTables
2015-03-19 16:08:38 +10:30
snipe
7d5ee9750f
Added #596 fix for accessories
2015-03-04 15:21:31 -08:00
snipe
1273c4ca87
EULA/req improvements
2015-02-26 18:20:52 -08:00
snipe
04735f1aff
Fixed assetlog display
2015-02-26 17:04:21 -08:00
snipe
d33dcbbcb1
Fixed bad method call in accessories on delete
2015-02-26 16:17:25 -08:00
snipe
74a7b304c2
Limit categories to accessory categories
2015-02-26 16:09:40 -08:00
snipe
47f1488acc
Get the accessory pivot ID
2015-02-26 15:24:41 -08:00
snipe
a20e1f6943
Fixed attach to relation
2015-02-26 14:08:31 -08:00
snipe
1ac401f0c0
Fixed EULA mail
2015-02-26 11:54:56 -08:00
snipe
acedab5587
Checkout for accessories
2015-02-26 11:42:02 -08:00
snipe
54bad2e4f6
More accessory relationships
2015-02-26 03:19:45 -08:00
snipe
95fd96f29a
Accessory checkout/checkin methods
2015-02-26 03:08:17 -08:00
snipe
3ba6e45011
Added Accessories scaffolding
2015-02-25 16:31:22 -08:00