Compare commits

..

135 Commits

Author SHA1 Message Date
snipe 0eb6183711 New strings for translation 2014-11-05 21:16:26 -05:00
snipe cdf5ecc084 Merge pull request #336 from madd15/feature-updated-setting-view
Update Settings to contain PHP & Laravel versions
2014-11-05 21:03:27 -05:00
madd15 0eda46da0c Move side column back to top on the right 2014-11-06 11:23:07 +10:30
madd15 1047c5c8bb Update Settings to contain PHP & Laravel versions 2014-11-06 11:12:15 +10:30
snipe 5f6f3de25e Merge pull request #335 from madd15/feature-new-license-fields
Add Fields to Licenses and Update Supplier for Licenses
2014-11-05 18:26:57 -05:00
madd15 7833d10006 Add Fields to Licenses and Update Supplier for Licenses 2014-11-06 09:32:50 +10:30
snipe 122b3d89d9 Added assetlog to other status types 2014-11-05 16:11:07 -05:00
snipe 14801eca79 Merge branch 'develop' of github.com:snipe/snipe-it into develop 2014-11-05 16:10:11 -05:00
snipe 4a4b974f41 Merge pull request #333 from madd15/patch-1
Add assetlog to Deployed Loading
2014-11-05 16:09:55 -05:00
snipe ab7b828e33 Romanian translations 2014-11-05 16:08:54 -05:00
snipe b0e87d967a Arr! Pirate translations 2014-11-05 16:08:19 -05:00
snipe a0001fe1ed Arabic translations 2014-11-05 16:08:08 -05:00
madd15 ac5fa1641e Add assetlog to Deployed Loading 2014-11-06 07:35:49 +10:30
snipe 7c16dd8c92 Eager loading on other status types 2014-11-05 15:57:10 -05:00
snipe 294b02127b Don't show asset name field if there is none 2014-11-05 15:16:38 -05:00
snipe e04cc806d9 Fixes #327 2014-11-05 15:16:22 -05:00
snipe 2bee522a7c Included defaultLoc to assets view 2014-11-04 19:23:11 -05:00
snipe 5441dd41f0 Eager loading on assets listing 2014-11-04 18:58:16 -05:00
snipe 7858252fca More brazilian portuguese translations 2014-11-04 18:33:35 -05:00
snipe 6c6d31f15a A few more hungarian translations 2014-11-04 18:32:38 -05:00
snipe 6b2d3efe3e Fixes #237 - reporting-only group 2014-11-04 18:21:10 -05:00
snipe 1078dbf5c5 Fixes #324 2014-11-03 02:39:11 -05:00
snipe 300c262739 Merge pull request #320 from diwanicki/asset-view-edit-new-org
Adjustments to Asset Edit and Asset View layouts
2014-11-03 00:40:44 -05:00
snipe 25a7b05de6 Merge pull request #323 from madd15/patch-1
Fix if no asset selected sql error
2014-11-03 00:22:00 -05:00
madd15 70d7748229 Remove asterisk from asset 2014-11-03 15:48:51 +10:30
madd15 6315db7fd8 Allow checkout to user without asset 2014-11-03 15:35:04 +10:30
snipe 343798d241 Merge pull request #322 from madd15/fix-js-delete-asset
Delegate to table, add button to on()
2014-11-02 20:10:05 -05:00
snipe 5050862979 Merge pull request #321 from madd15/patch-5
Fix #318 - Missing end div causing layout issues
2014-11-02 17:34:36 -05:00
madd15 90baf2eeba Delegate to table, add button to on() 2014-11-03 08:58:19 +10:30
madd15 0022389463 Fix dropdown menu position 2014-11-03 08:24:53 +10:30
madd15 04123b3fe8 Missing end div causing layout issues 2014-11-03 08:12:34 +10:30
snipe 491de30374 Finnish translation via jarnok 2014-11-02 13:41:12 -05:00
snipe 0d402f52c8 Localization 2014-11-02 13:34:08 -05:00
diwanicki 55cd7c0f81 move br in notes div, almost there 2014-11-02 13:27:32 -05:00
diwanicki 63656762b0 changed style for notes, brd in div 2014-11-02 13:26:09 -05:00
diwanicki 87a9399b6b maybe a break? 2014-11-02 13:18:58 -05:00
diwanicki ed5ff9a01b trying hard space 2014-11-02 13:14:56 -05:00
diwanicki 68bf40a7ea typo2 2014-11-02 13:10:01 -05:00
diwanicki 0cf24bdde1 typo 2014-11-02 13:08:44 -05:00
diwanicki 05502cf29d trying serial in col-md12 2014-11-02 13:03:06 -05:00
diwanicki 1305ea9597 move in div? 2014-11-02 11:27:56 -05:00
diwanicki 94e1fcb01b maybe breaks? 2014-11-02 11:24:28 -05:00
diwanicki 9c01ab334f playing with paragraph tags 2014-11-02 11:22:05 -05:00
diwanicki b685ea666c em, small, and paragraphs 2014-11-02 11:17:34 -05:00
diwanicki ee35948980 fix div issues 2014-11-02 11:09:29 -05:00
diwanicki 569714315c Revert c122cc2..f094551
This rolls back to commit c122cc2647.
2014-11-02 10:54:52 -05:00
diwanicki f09455117b . 2014-11-02 10:51:45 -05:00
diwanicki af70559754 . 2014-11-02 10:50:35 -05:00
diwanicki 07e6d49dce . 2014-11-02 10:49:22 -05:00
diwanicki 86597bb863 more 2014-11-02 10:46:57 -05:00
diwanicki 6d057846a1 again 2014-11-02 10:45:33 -05:00
diwanicki ba9f8c61f1 more 2014-11-02 10:41:52 -05:00
diwanicki d3266dd4e8 still more 2014-11-02 10:40:10 -05:00
diwanicki 9143ac461f and more 2014-11-02 10:37:32 -05:00
diwanicki 7199d6fd22 more adjustments 2014-11-02 10:29:24 -05:00
diwanicki 2b21b26950 more layout adjustments 2014-11-02 10:24:34 -05:00
diwanicki c122cc2647 layout adjustments
layout adjustment to Notes field, hide Notes from asset creation log
display
2014-11-02 10:06:23 -05:00
diwanicki ced8610833 cleanup, reorder, restore Asset view and edit
reordered fields on Asset Add/Edit form to flow more logically.
reordered fields on Asset View to flow more logically. Restored serial
number to Asset View. Added Asset specific notes field to Asset View
(they are in the log as part of the initial asset creation, but need to
be more prominent, especially if the device has a lot of history.
adjusted wording in EN lang template for clarity.
2014-11-02 08:48:42 -05:00
snipe af63d34412 Updated language strings 2014-11-01 19:06:44 -04:00
snipe 9e85dcb9fc Fixes #315 - add EOL as display option in settings (run migrations) 2014-11-01 18:38:24 -04:00
snipe 687c629953 Bootstrap HTML cleanup 2014-11-01 17:45:28 -04:00
snipe 13b3e2c4d4 HTML cleanup 2014-11-01 17:42:15 -04:00
snipe 4d8e663bd1 Replaced hard-coded month string for languag support 2014-11-01 17:27:07 -04:00
snipe 3e11ea70da Reverting to old page title 2014-11-01 17:24:57 -04:00
snipe 86b7b6946f Fixes #316 - added model name back to view 2014-11-01 17:14:36 -04:00
snipe 3184c3e03b Updated language files 2014-10-30 07:51:11 -04:00
snipe 55eb4325bc Merge pull request #309 from madd15/patch-2
Allow checkout to user or asset
2014-10-29 23:15:18 -04:00
snipe d4ef8a75b8 Merge pull request #310 from madd15/patch-3
Change file name to str_random(25) & prevent upsizing
2014-10-29 23:14:56 -04:00
madd15 cf4804a994 Added constraint to image to prevent upsizing 2014-10-30 10:34:52 +10:30
madd15 22590e2a43 Change file name to str_random(25) 2014-10-30 09:52:20 +10:30
madd15 d9f86df05f Uncomment User section 2014-10-30 09:34:55 +10:30
madd15 636eb29421 Change rule back to asset_id required_without 2014-10-30 09:33:31 +10:30
snipe 5dea4c7691 Merge pull request #308 from madd15/patch-1
Fix Gravatar email lang and < conflict
2014-10-29 18:56:26 -04:00
madd15 672e2e5fd4 Add gravatar_email 2014-10-30 09:06:13 +10:30
madd15 42ad3da3d3 Moved part of gravatar label to new line
<small> was conflicting with @lang
2014-10-30 09:04:47 +10:30
snipe bb3aa99b9c Added CrowdIn badge 2014-10-29 18:33:13 -04:00
snipe 676155eacb Added translation link to footer 2014-10-29 17:50:21 -04:00
snipe 54071d1837 Updated readme for translation info 2014-10-29 17:49:55 -04:00
snipe 5abc4467df New placeholder language files for translations 2014-10-29 17:38:24 -04:00
snipe ffe095d64b Updates to language files 2014-10-29 17:38:07 -04:00
snipe ce566509ce Merge pull request #306 from madd15/patch-1
Allow spaces in category name
2014-10-29 14:27:48 -04:00
madd15 84cb51b4c3 Allow spaces in category name 2014-10-29 21:59:51 +10:30
snipe 9b0d930a21 Updated requirements in main README 2014-10-29 05:56:05 -04:00
snipe 1680d45163 Updated composer lock 2014-10-29 05:38:03 -04:00
snipe 5e1f61ea2a Ignore new uploads subdirectories 2014-10-29 05:37:48 -04:00
snipe 75d0136d7f Merge pull request #304 from madd15/feature-avatars
Feature local avatars and model images
2014-10-29 05:08:49 -04:00
madd15 30428cb858 Vars for lang - Image 2014-10-29 17:34:47 +10:30
madd15 26ab53c02c Added Location and Website 2014-10-29 17:33:10 +10:30
madd15 d8815b5ef5 Change to Vars for labels 2014-10-29 17:32:19 +10:30
madd15 e8737b156a Add image and avatar lang vars 2014-10-29 17:19:27 +10:30
madd15 f200e81334 Remove circle effect from image 2014-10-29 15:58:39 +10:30
madd15 03f3294873 Add images to models
Appropriate changes to views and controllers
includes migration and folder
2014-10-29 15:54:55 +10:30
madd15 da70d5042c uploads\avatars folder 2014-10-29 14:43:27 +10:30
madd15 239370058c changed to avatar 2014-10-29 14:28:24 +10:30
madd15 0b4c1b8d83 Feature Avatars
Appropriate changes to views and controllers
User Avatar Migration
Add intervention/image
2014-10-29 14:18:54 +10:30
snipe 736c9a1ad7 Merge pull request #302 from madd15/patch-2
Change Locations to sort by name asc
2014-10-28 02:05:05 -04:00
madd15 fb46a04d78 Change Locations to sort by name asc 2014-10-28 16:01:11 +10:30
snipe e9e332e19e Merge pull request #300 from madd15/patch-2
Change paginate to get for Index
2014-10-27 15:19:33 -04:00
madd15 16420dafa9 Change paginate to get for Index
Fixes #261 - Pagination appears to work correctly after this change
2014-10-27 12:14:55 +10:30
rob 22f81912e4 Fixes #299 2014-10-24 17:08:50 -04:00
snipe e61f93deb8 Merge pull request #297 from madd15/patch-4
Changed rtd_location_id for edit to match create
2014-10-24 16:38:18 -04:00
snipe 8d2b09a647 Merge pull request #298 from madd15/patch-1
Changed to == on $setting->qr_code
2014-10-24 12:11:36 -04:00
madd15 b11a0cb436 Changed to == on $setting->qr_code 2014-10-25 00:27:25 +10:30
madd15 dd923984ef Changed rtd_location_id for edit to match create
Forgot to change postEdit
2014-10-24 15:17:07 +10:30
snipe d36c73550b Merge pull request #296 from madd15/patch-4
Change rtd_location_id to allow no location set
2014-10-24 00:24:05 -04:00
madd15 bbfc87dddf Change rtd_location_id to allow no location set 2014-10-24 14:50:27 +10:30
snipe 90497bb6a4 Updated spanish translations 2014-10-23 23:37:15 -04:00
snipe 35ce00f6ab Merge remote-tracking branch 'origin/master' into develop 2014-10-23 23:22:51 -04:00
snipe 3cbd8c9b5d Added CrowdIn link 2014-10-23 23:22:35 -04:00
snipe 599520dff6 Squashed commit of the following:
commit 309772e67d
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 22:43:06 2014 -0400

    Fixed operator for setting bool display

commit 139a0a2e2a
Merge: 88459b7 14a9500
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 22:39:55 2014 -0400

    Merge branch 'develop' of github.com:snipe/snipe-it into develop

commit 88459b755f
Merge: 05fb2a4 e17de3d
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 22:39:22 2014 -0400

    Merge branch 'madd15-patch-2' into develop

commit e17de3d34f
Merge: 062d16b a6cd7c0
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 22:38:11 2014 -0400

    Merge branch 'patch-2' of github.com:madd15/snipe-it into madd15-patch-2

commit a6cd7c0bab
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 13:07:57 2014 +1030

    Changed to only one date for checkout date

commit 062d16b2c0
Merge: 05fb2a4 7f44d6d
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 22:22:55 2014 -0400

    Merge branch 'patch-2' of github.com:madd15/snipe-it into madd15-patch-2

commit 7f44d6dd47
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:48:04 2014 +1030

    Add display_checkout_date to settings table

commit 9125def119
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:41:25 2014 +1030

    Add checkout_date

commit 024972e239
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:35:42 2014 +1030

    Add Checkout Date column

commit b0e1ef6024
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:32:44 2014 +1030

    Add Display Checkout Date

commit d74bddb51f
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:32:06 2014 +1030

    Add display_checkout_date

commit 189523a943
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:30:51 2014 +1030

    Add Display Checkout Date Setting

commit 98b96d372d
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 12:29:58 2014 +1030

    Add Display Checkout Date Setting

commit 14a9500c6f
Merge: 7bea50f 0e9e659
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 20:12:45 2014 -0400

    Merge pull request #293 from madd15/patch-5

    Update Country, Change to Form::, Change state to max 32

commit 0e9e659dc4
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 10:40:14 2014 +1030

    Alter State to varchar(32) in Suppliers Table

commit 7bea50feca
Merge: 05fb2a4 fafd03f
Author: snipe <snipe@snipe.net>
Date:   Thu Oct 23 20:08:31 2014 -0400

    Merge pull request #294 from madd15/patch-4

    Added DB Prefix to Migrations

commit 8f582f29e2
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 10:17:19 2014 +1030

    Change state to max 32

commit cbf23fc455
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 24 10:16:08 2014 +1030

    Update Country, Change to Form::

commit fafd03f00f
Author: madd15 <joshdeakin@adam.com.au>
Date:   Thu Oct 23 11:47:46 2014 +1030

    Added DB Prefix to Migrations

    Added DB::getTablePrefix(); to migrations to fix #284

    not sure if there is another way to achieve this

commit 05fb2a434c
Merge: 255b618 e43a945
Author: snipe <snipe@snipe.net>
Date:   Sun Oct 19 18:47:12 2014 -0400

    Merge pull request #283 from madd15/patch-3

    Update table.action to table.actions

commit e43a94586b
Author: madd15 <joshdeakin@adam.com.au>
Date:   Mon Oct 20 08:46:27 2014 +1030

    Update table.action to table.action

commit 0d12428140
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 17 15:39:58 2014 +1030

    Reordered, Changed title and added per_page

    Reordered, Changed title and added per_page

commit 692c861594
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 17 15:36:31 2014 +1030

    Updated static text to Lang vars

    Updated static text to Lang vars

commit c68d76870e
Author: madd15 <joshdeakin@adam.com.au>
Date:   Fri Oct 17 15:35:56 2014 +1030

    Change all form to use Form:: & update Lang

    Updated <input> to Form::
    Update static text to Lang Vars
2014-10-23 22:46:20 -04:00
snipe 309772e67d Fixed operator for setting bool display 2014-10-23 22:43:06 -04:00
snipe 139a0a2e2a Merge branch 'develop' of github.com:snipe/snipe-it into develop 2014-10-23 22:39:55 -04:00
snipe 88459b755f Merge branch 'madd15-patch-2' into develop 2014-10-23 22:39:22 -04:00
snipe e17de3d34f Merge branch 'patch-2' of github.com:madd15/snipe-it into madd15-patch-2 2014-10-23 22:38:11 -04:00
madd15 a6cd7c0bab Changed to only one date for checkout date 2014-10-24 13:07:57 +10:30
snipe 062d16b2c0 Merge branch 'patch-2' of github.com:madd15/snipe-it into madd15-patch-2 2014-10-23 22:22:55 -04:00
madd15 7f44d6dd47 Add display_checkout_date to settings table 2014-10-24 12:48:04 +10:30
madd15 9125def119 Add checkout_date 2014-10-24 12:41:25 +10:30
madd15 024972e239 Add Checkout Date column 2014-10-24 12:35:42 +10:30
madd15 b0e1ef6024 Add Display Checkout Date 2014-10-24 12:32:44 +10:30
madd15 d74bddb51f Add display_checkout_date 2014-10-24 12:32:06 +10:30
madd15 189523a943 Add Display Checkout Date Setting 2014-10-24 12:30:51 +10:30
madd15 98b96d372d Add Display Checkout Date Setting 2014-10-24 12:29:58 +10:30
snipe 14a9500c6f Merge pull request #293 from madd15/patch-5
Update Country, Change to Form::, Change state to max 32
2014-10-23 20:12:45 -04:00
madd15 0e9e659dc4 Alter State to varchar(32) in Suppliers Table 2014-10-24 10:40:14 +10:30
snipe 7bea50feca Merge pull request #294 from madd15/patch-4
Added DB Prefix to Migrations
2014-10-23 20:08:31 -04:00
madd15 8f582f29e2 Change state to max 32 2014-10-24 10:17:19 +10:30
madd15 cbf23fc455 Update Country, Change to Form:: 2014-10-24 10:16:08 +10:30
madd15 fafd03f00f Added DB Prefix to Migrations
Added DB::getTablePrefix(); to migrations to fix #284

not sure if there is another way to achieve this
2014-10-23 11:47:46 +10:30
snipe 05fb2a434c Merge pull request #283 from madd15/patch-3
Update table.action to table.actions
2014-10-19 18:47:12 -04:00
madd15 e43a94586b Update table.action to table.action 2014-10-20 08:46:27 +10:30
madd15 0d12428140 Reordered, Changed title and added per_page
Reordered, Changed title and added per_page
2014-10-17 15:39:58 +10:30
madd15 692c861594 Updated static text to Lang vars
Updated static text to Lang vars
2014-10-17 15:36:31 +10:30
madd15 c68d76870e Change all form to use Form:: & update Lang
Updated <input> to Form::
Update static text to Lang Vars
2014-10-17 15:35:56 +10:30
snipe 255b618559 Updated for 1.0 release 2014-10-16 18:40:31 -04:00
1359 changed files with 31136 additions and 787 deletions
+2
View File
@@ -10,6 +10,8 @@ composer.phar
/app/config/*/database.php
/app/config/*/app.php
public/packages/*
public/uploads/models/*
public/uploads/avatars/*
/app/storage/views/*
/app/storage/logs/*
/app/storage/debugbar/
+15 -2
View File
@@ -1,4 +1,4 @@
[![Click here to lend your support to: Snipe IT - Free Open Source Asset Management System and make a donation at pledgie.com](https://pledgie.com/campaigns/22899.png?skin_name=chrome)](https://pledgie.com/campaigns/22899) [![Build Status](https://travis-ci.org/snipe/snipe-it.svg?branch=develop)](https://travis-ci.org/snipe/snipe-it) [![Stories in Ready](https://badge.waffle.io/snipe/snipe-it.png?label=ready&title=Ready)](http://waffle.io/snipe/snipe-it) [![ProjectStatus](http://stillmaintained.com/snipe/snipe-it.png)](http://stillmaintained.com/snipe/snipe-it)
[![Click here to lend your support to: Snipe IT - Free Open Source Asset Management System and make a donation at pledgie.com](https://pledgie.com/campaigns/22899.png?skin_name=chrome)](https://pledgie.com/campaigns/22899) [![Build Status](https://travis-ci.org/snipe/snipe-it.svg?branch=develop)](https://travis-ci.org/snipe/snipe-it) [![Stories in Ready](https://badge.waffle.io/snipe/snipe-it.png?label=ready&title=Ready)](http://waffle.io/snipe/snipe-it) [![ProjectStatus](http://stillmaintained.com/snipe/snipe-it.png)](http://stillmaintained.com/snipe/snipe-it) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/snipe-it/localized.png)](https://crowdin.com/project/snipe-it)
## Snipe-IT - Asset Management For the Rest of Us
@@ -7,7 +7,7 @@ This is a FOSS project for asset management in IT Operations. Knowing who has wh
It is built on [Laravel 4.1](http://laravel.com) and uses the [Sentry 2](https://github.com/cartalyst/sentry) package.
This project is being actively developed (at what seems like breakneck speed sometimes!) We're still in alpha release, so this is NOT recommended for production use yet, as many more things will likely change before v1.0-stable is ready - but we're [releasing quite frequently](https://github.com/snipe/snipe-it/releases). ([Check out the live demo here](http://snipeitapp.com/demo.php).)
This project is being actively developed and we're [releasing quite frequently](https://github.com/snipe/snipe-it/releases). ([Check out the live demo here](http://snipeitapp.com/demo.php).)
__This is web-based software__. This means there there is no executable file (aka no .exe files), and it must be run on a web server and accessed through a web browser. It runs on any Mac OSX, flavor of Linux, as well as Windows.
@@ -34,11 +34,24 @@ We use Waffle.io to help better communicate our roadmap with users. Our [project
To be notified of important news (such as new releases, security advisories, etc), [sign up for our list](http://eepurl.com/XyZKz). We'll never sell or give away your info, and we'll only email you when it's important.
### Translations!
If you're not a coder but want to give back to the project and you're fluent in other languages, consider helping out with the translations. We use [CrowdIn](https://crowdin.com) to manage translations, and it makes it super-simple for you to add translations to the project without messing with code. Check out [the Snipe-IT CrowdIn translation project here](https://crowdin.com/project/snipe-it/).
We currently have English and Spanish completed, and are looking for lots more!
-----
## Requirements
- PHP 5.4 or later
- MCrypt PHP Extension
- Fileinfo Extension
And _one_ of the following image libraries (for QR codes, asset model image and user avatar image uploads).
- GD Library (>=2.0) … or …
- Imagick PHP extension (>=6.3.8)
-----
+6 -3
View File
@@ -223,7 +223,8 @@ class AppCommand extends Command
'name' => 'Admin',
'permissions' => array(
'admin' => 1,
'users' => 1
'users' => 1,
'reports' => 1
)
));
@@ -242,7 +243,8 @@ class AppCommand extends Command
'name' => 'Reporting',
'permissions' => array(
'admin' => 0,
'users' => 1
'users' => 1,
'reports' => 1,
)
));
@@ -260,7 +262,8 @@ class AppCommand extends Command
'name' => 'Users',
'permissions' => array(
'admin' => 0,
'users' => 1
'users' => 1,
'reports' => 0,
)
));
+1
View File
@@ -117,6 +117,7 @@ return array(
'Form' => 'Illuminate\Support\Facades\Form',
'Hash' => 'Illuminate\Support\Facades\Hash',
'HTML' => 'Illuminate\Support\Facades\HTML',
'Image' => 'Intervention\Image\ImageManagerStatic',
'Input' => 'Illuminate\Support\Facades\Input',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
+8
View File
@@ -16,4 +16,12 @@ return array(
),
),
'Reporting' => array(
array(
'permission' => 'reports',
'label' => 'View Reports',
),
),
);
+4 -1
View File
@@ -7,10 +7,13 @@ class AdminController extends AuthorizedController
*
* @return void
*/
public function __construct()
{
// These have been moved into the routes for more granular control
// Apply the admin auth filter
$this->beforeFilter('admin-auth');
//$this->beforeFilter('admin-auth', array('except' => $this->whitelist));
}
@@ -1,6 +1,7 @@
<?php namespace Controllers\Account;
use AuthorizedController;
use Image;
use Input;
use Redirect;
use Sentry;
@@ -62,6 +63,19 @@ class ProfileController extends AuthorizedController
$user->website = Input::get('website');
$user->location_id = Input::get('location_id');
$user->gravatar = Input::get('gravatar');
if (Input::file('avatar')) {
$image = Input::file('avatar');
$file_name = $user->first_name."-".$user->last_name.".".$image->getClientOriginalExtension();
$path = public_path('uploads/avatars/'.$file_name);
Image::make($image->getRealPath())->resize(84, 84)->save($path);
$user->avatar = $file_name;
}
if (Input::get('avatar_delete') == 1 && Input::file('avatar') == "") {
$user->avatar = NULL;
}
$user->save();
// Redirect to the settings page
+39 -9
View File
@@ -40,15 +40,35 @@ class AssetsController extends AdminController
// Filter results
if (Input::get('Pending')) {
$assets = Asset::orderBy('asset_tag', 'ASC')->whereNull('status_id','and')->where('assigned_to','=','0')->where('physical', '=', 1)->get();
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog')
->whereNull('status_id','and')
->where('assigned_to','=','0')
->where('physical', '=', 1)
->get();
} elseif (Input::get('RTD')) {
$assets = Asset::orderBy('asset_tag', 'ASC')->where('status_id', '=', 0)->where('assigned_to','=','0')->where('physical', '=', 1)->get();
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog')
->where('status_id', '=', 0)
->where('physical', '=', 1)
->orderBy('asset_tag', 'ASC')
->get();
} elseif (Input::get('Undeployable')) {
$assets = Asset::orderBy('asset_tag', 'ASC')->where('status_id', '>', 1)->where('physical', '=', 1)->get();
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog')
->where('physical', '=', 1)
->where('assigned_to','>','1')
->orderBy('asset_tag', 'ASC')
->get();
} elseif (Input::get('Deployed')) {
$assets = Asset::orderBy('asset_tag', 'ASC')->where('status_id', '=', 0)->where('assigned_to','>','0')->where('physical', '=', 1)->get();
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc','assetlog')
->where('physical', '=', 1)
->where('assigned_to','>','0')
->orderBy('asset_tag', 'ASC')
->get();
} else {
$assets = Asset::orderBy('asset_tag', 'ASC')->where('physical', '=', 1)->get();
$assets = Asset::with('model','assigneduser','assetstatus','defaultLoc')
->where('physical', '=', 1)
->orderBy('asset_tag', 'ASC')
->get();
}
// Paginate the users
@@ -152,7 +172,7 @@ class AssetsController extends AdminController
$model_list = array('' => '') + Model::orderBy('name', 'asc')->lists('name', 'id');
$supplier_list = array('' => '') + Supplier::orderBy('name', 'asc')->lists('name', 'id');
$assigned_to = array('' => 'Select a User') + DB::table('users')->select(DB::raw('concat (first_name," ",last_name) as full_name, id'))->whereNull('deleted_at')->lists('full_name', 'id');
$location_list = array('' => '') + Location::lists('name', 'id');
$location_list = array('' => '') + Location::orderBy('name', 'asc')->lists('name', 'id');
// Grab the dropdown list of status
$statuslabel_list = array('' => Lang::get('general.pending')) + array('0' => Lang::get('general.ready_to_deploy')) + Statuslabel::orderBy('name', 'asc')->lists('name', 'id');
@@ -225,6 +245,12 @@ class AssetsController extends AdminController
$asset->requestable = e(Input::get('requestable'));
}
if (e(Input::get('rtd_location_id')) == '') {
$asset->rtd_location_id = 0;
} else {
$asset->rtd_location_id = e(Input::get('rtd_location_id'));
}
// Save the asset data
$asset->name = e(Input::get('name'));
$asset->serial = e(Input::get('serial'));
@@ -232,7 +258,6 @@ class AssetsController extends AdminController
$asset->order_number = e(Input::get('order_number'));
$asset->notes = e(Input::get('notes'));
$asset->asset_tag = e(Input::get('asset_tag'));
$asset->rtd_location_id = e(Input::get('rtd_location_id'));
$asset->user_id = Sentry::getId();
$asset->archived = '0';
@@ -270,7 +295,7 @@ class AssetsController extends AdminController
// Grab the dropdown list of models
$model_list = array('' => '') + Model::orderBy('name', 'asc')->lists('name', 'id');
$supplier_list = array('' => '') + Supplier::orderBy('name', 'asc')->lists('name', 'id');
$location_list = array('' => '') + Location::lists('name', 'id');
$location_list = array('' => '') + Location::orderBy('name', 'asc')->lists('name', 'id');
// Grab the dropdown list of status
$statuslabel_list = array('' => Lang::get('general.pending')) + array('0' => Lang::get('general.ready_to_deploy')) + Statuslabel::orderBy('name', 'asc')->lists('name', 'id');
@@ -341,6 +366,12 @@ class AssetsController extends AdminController
$asset->requestable = e(Input::get('requestable'));
}
if (e(Input::get('rtd_location_id')) == '') {
$asset->rtd_location_id = 0;
} else {
$asset->rtd_location_id = e(Input::get('rtd_location_id'));
}
// Update the asset data
$asset->name = e(Input::get('name'));
$asset->serial = e(Input::get('serial'));
@@ -349,7 +380,6 @@ class AssetsController extends AdminController
$asset->asset_tag = e(Input::get('asset_tag'));
$asset->notes = e(Input::get('notes'));
$asset->physical = '1';
$asset->rtd_location_id = e(Input::get('rtd_location_id'));
// Was the asset updated?
if($asset->save()) {
@@ -23,7 +23,7 @@ class CategoriesController extends AdminController
public function getIndex()
{
// Grab all the categories
$categories = Category::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$categories = Category::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/categories/index', compact('categories'));
@@ -23,7 +23,7 @@ class DepreciationsController extends AdminController
public function getIndex()
{
// Grab all the depreciations
$depreciations = Depreciation::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$depreciations = Depreciation::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/depreciations/index', compact('depreciations'));
+101 -71
View File
@@ -15,6 +15,7 @@ use Depreciation;
use Setting;
use Sentry;
use Str;
use Supplier;
use Validator;
use View;
@@ -33,7 +34,7 @@ class LicensesController extends AdminController
public function getIndex()
{
// Grab all the licenses
$licenses = License::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$licenses = License::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/licenses/index', compact('licenses'));
@@ -49,10 +50,10 @@ class LicensesController extends AdminController
{
// Show the page
$license_options = array('0' => 'Top Level') + License::lists('name', 'id');
// Show the page
$depreciation_list = array('0' => Lang::get('admin/licenses/form.no_depreciation')) + Depreciation::lists('name', 'id');
return View::make('backend/licenses/edit')->with('license_options',$license_options)->with('depreciation_list',$depreciation_list)->with('license',new License);
$supplier_list = array('' => 'Select Supplier') + Supplier::orderBy('name', 'asc')->lists('name', 'id');
return View::make('backend/licenses/edit')->with('license_options',$license_options)->with('depreciation_list',$depreciation_list)->with('supplier_list',$supplier_list)->with('license',new License);
}
@@ -74,31 +75,43 @@ class LicensesController extends AdminController
// attempt validation
if ($license->validate($new)) {
if ( e(Input::get('purchase_cost')) == '') {
if ( e(Input::get('purchase_cost')) == '') {
$license->purchase_cost = NULL;
} else {
$license->purchase_cost = ParseFloat(e(Input::get('purchase_cost')));
//$license->purchase_cost = e(Input::get('purchase_cost'));
}
if ( e(Input::get('supplier_id')) == '') {
$license->supplier_id = NULL;
} else {
$license->supplier_id = e(Input::get('supplier_id'));
}
// Save the license data
$license->name = e(Input::get('name'));
$license->serial = e(Input::get('serial'));
$license->license_email = e(Input::get('license_email'));
$license->license_name = e(Input::get('license_name'));
$license->notes = e(Input::get('notes'));
$license->order_number = e(Input::get('order_number'));
$license->seats = e(Input::get('seats'));
$license->purchase_date = e(Input::get('purchase_date'));
//$license->purchase_cost = e(Input::get('purchase_cost'));
$license->depreciation_id = e(Input::get('depreciation_id'));
//$license->asset_id = e(Input::get('asset_id'));
$license->user_id = Sentry::getId();
$license->name = e(Input::get('name'));
$license->serial = e(Input::get('serial'));
$license->license_email = e(Input::get('license_email'));
$license->license_name = e(Input::get('license_name'));
$license->notes = e(Input::get('notes'));
$license->order_number = e(Input::get('order_number'));
$license->seats = e(Input::get('seats'));
$license->purchase_date = e(Input::get('purchase_date'));
$license->purchase_order = e(Input::get('purchase_order'));
//$license->purchase_cost = e(Input::get('purchase_cost'));
$license->depreciation_id = e(Input::get('depreciation_id'));
$license->expiration_date = e(Input::get('expiration_date'));
//$license->asset_id = e(Input::get('asset_id'));
$license->user_id = Sentry::getId();
if (($license->purchase_date == "") || ($license->purchase_date == "0000-00-00")) {
$license->purchase_date = NULL;
}
if (($license->expiration_date == "") || ($license->expiration_date == "0000-00-00")) {
$license->expiration_date = NULL;
}
if (($license->purchase_cost == "") || ($license->purchase_cost == "0.00")) {
$license->purchase_cost = NULL;
}
@@ -109,10 +122,10 @@ class LicensesController extends AdminController
// Save the license seat data
for ($x=0; $x<$license->seats; $x++) {
$license_seat = new LicenseSeat();
$license_seat->license_id = $insertedId;
$license_seat->user_id = Sentry::getId();
$license_seat->assigned_to = 0;
$license_seat->notes = NULL;
$license_seat->license_id = $insertedId;
$license_seat->user_id = Sentry::getId();
$license_seat->assigned_to = 0;
$license_seat->notes = NULL;
$license_seat->save();
}
@@ -156,7 +169,8 @@ class LicensesController extends AdminController
// Show the page
$license_options = array('' => 'Top Level') + DB::table('assets')->where('id', '!=', $licenseId)->lists('name', 'id');
$depreciation_list = array('0' => Lang::get('admin/licenses/form.no_depreciation')) + Depreciation::lists('name', 'id');
return View::make('backend/licenses/edit', compact('license'))->with('license_options',$license_options)->with('depreciation_list',$depreciation_list);
$supplier_list = array('' => 'Select Supplier') + Supplier::orderBy('name', 'asc')->lists('name', 'id');
return View::make('backend/licenses/edit', compact('license'))->with('license_options',$license_options)->with('depreciation_list',$depreciation_list)->with('supplier_list',$supplier_list);
}
@@ -184,14 +198,20 @@ class LicensesController extends AdminController
if ($license->validate($new)) {
// Update the license data
$license->name = e(Input::get('name'));
$license->serial = e(Input::get('serial'));
$license->license_email = e(Input::get('license_email'));
$license->license_name = e(Input::get('license_name'));
$license->notes = e(Input::get('notes'));
$license->order_number = e(Input::get('order_number'));
$license->depreciation_id = e(Input::get('depreciation_id'));
$license->name = e(Input::get('name'));
$license->serial = e(Input::get('serial'));
$license->license_email = e(Input::get('license_email'));
$license->license_name = e(Input::get('license_name'));
$license->notes = e(Input::get('notes'));
$license->order_number = e(Input::get('order_number'));
$license->depreciation_id = e(Input::get('depreciation_id'));
$license->purchase_order = e(Input::get('purchase_order'));
if ( e(Input::get('supplier_id')) == '') {
$license->supplier_id = NULL;
} else {
$license->supplier_id = e(Input::get('supplier_id'));
}
// Update the asset data
if ( e(Input::get('purchase_date')) == '') {
@@ -200,6 +220,12 @@ class LicensesController extends AdminController
$license->purchase_date = e(Input::get('purchase_date'));
}
if ( e(Input::get('expiration_date')) == '') {
$license->expiration_date = NULL;
} else {
$license->expiration_date = e(Input::get('expiration_date'));
}
if ( e(Input::get('purchase_cost')) == '') {
$license->purchase_cost = NULL;
} else {
@@ -245,10 +271,10 @@ class LicensesController extends AdminController
for ($i=1; $i <= $difference; $i++) {
//Create a seat for this license
$license_seat = new LicenseSeat();
$license_seat->license_id = $license->id;
$license_seat->user_id = Sentry::getId();
$license_seat->assigned_to = 0;
$license_seat->notes = NULL;
$license_seat->license_id = $license->id;
$license_seat->user_id = Sentry::getId();
$license_seat->assigned_to = 0;
$license_seat->notes = NULL;
$license_seat->save();
}
@@ -260,7 +286,7 @@ class LicensesController extends AdminController
$logaction->note = abs($difference)." seats";
$log = $logaction->logaction('add seats');
}
$license->seats = e(Input::get('seats'));
$license->seats = e(Input::get('seats'));
}
// Was the asset created?
@@ -328,28 +354,28 @@ class LicensesController extends AdminController
// Get the dropdown of users and then pass it to the checkout view
$users_list = array('' => 'Select a User') + DB::table('users')->select(DB::raw('concat (first_name," ",last_name) as full_name, id'))->whereNull('deleted_at')->lists('full_name', 'id');
// Left join to get a list of assets and some other helpful info
$asset = DB::table('assets')
->leftJoin('users', 'users.id', '=', 'assets.assigned_to')
->select('assets.id', 'name', 'first_name', 'last_name','asset_tag',
DB::raw('concat (first_name," ",last_name) as full_name, assets.id as id'))
->whereNull('assets.deleted_at')
->get();
// Left join to get a list of assets and some other helpful info
$asset = DB::table('assets')
->leftJoin('users', 'users.id', '=', 'assets.assigned_to')
->select('assets.id', 'name', 'first_name', 'last_name','asset_tag',
DB::raw('concat (first_name," ",last_name) as full_name, assets.id as id'))
->whereNull('assets.deleted_at')
->get();
$asset_array = json_decode(json_encode($asset), true);
$asset_element[''] = 'Please select an asset';
$asset_array = json_decode(json_encode($asset), true);
$asset_element[''] = 'Please select an asset';
// Build a list out of the data results
for ($x=0; $x<count($asset_array); $x++) {
// Build a list out of the data results
for ($x=0; $x<count($asset_array); $x++) {
if ($asset_array[$x]['full_name']!='') {
$full_name = ' ('.$asset_array[$x]['full_name'].')';
} else {
$full_name = ' (Unassigned)';
}
$asset_element[$asset_array[$x]['id']] = $asset_array[$x]['asset_tag'].' - '.$asset_array[$x]['name'].$full_name;
if ($asset_array[$x]['full_name']!='') {
$full_name = ' ('.$asset_array[$x]['full_name'].')';
} else {
$full_name = ' (Unassigned)';
}
$asset_element[$asset_array[$x]['id']] = $asset_array[$x]['asset_tag'].' - '.$asset_array[$x]['name'].$full_name;
}
}
return View::make('backend/licenses/checkout', compact('licenseseat'))->with('users_list',$users_list)->with('asset_list',$asset_element);
@@ -371,8 +397,7 @@ class LicensesController extends AdminController
$rules = array(
'note' => 'alpha_space',
// 'asset_id' => 'required_without:assigned_to:min:1',
'asset_id' => 'required',
'asset_id' => 'required_without:assigned_to',
);
// Create a new validator instance from our validation rules
@@ -384,25 +409,25 @@ class LicensesController extends AdminController
return Redirect::back()->withInput()->withErrors($validator);
}
if ($assigned_to!='') {
if ($assigned_to!='') {
// Check if the user exists
if (is_null($is_assigned_to = User::find($assigned_to))) {
// Redirect to the asset management page with error
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.user_does_not_exist'));
}
if (is_null($is_assigned_to = User::find($assigned_to))) {
// Redirect to the asset management page with error
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.user_does_not_exist'));
}
}
if ($asset_id!='') {
if (is_null($is_asset_id = Asset::find($asset_id))) {
// Redirect to the asset management page with error
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.asset_does_not_exist'));
}
if (is_null($is_asset_id = Asset::find($asset_id))) {
// Redirect to the asset management page with error
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.asset_does_not_exist'));
}
if (($is_asset_id->assigned_to!=$assigned_to) && ($assigned_to!='')) {
//echo 'asset assigned to: '.$is_asset_id->assigned_to.'<br>license assigned to: '.$assigned_to;
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.owner_doesnt_match_asset'));
}
if (($is_asset_id->assigned_to!=$assigned_to) && ($assigned_to!='')) {
//echo 'asset assigned to: '.$is_asset_id->assigned_to.'<br>license assigned to: '.$assigned_to;
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.owner_doesnt_match_asset'));
}
}
@@ -413,8 +438,12 @@ class LicensesController extends AdminController
// Redirect to the asset management page with error
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.not_found'));
}
$licenseseat->asset_id = e(Input::get('asset_id'));
if ( e(Input::get('asset_id')) == '') {
$licenseseat->asset_id = NULL;
} else {
$licenseseat->asset_id = e(Input::get('asset_id'));
}
// Update the asset data
if ( e(Input::get('assigned_to')) == '') {
@@ -500,8 +529,8 @@ class LicensesController extends AdminController
$logaction->checkedout_to = $licenseseat->assigned_to;
// Update the asset data
$licenseseat->assigned_to = '0';
$licenseseat->asset_id = NULL;
$licenseseat->assigned_to = '0';
$licenseseat->asset_id = NULL;
// Was the asset updated?
if($licenseseat->save()) {
@@ -559,7 +588,8 @@ class LicensesController extends AdminController
// Show the page
$depreciation_list = array('0' => Lang::get('admin/licenses/form.no_depreciation')) + Depreciation::lists('name', 'id');
return View::make('backend/licenses/edit')->with('license_options',$license_options)->with('depreciation_list',$depreciation_list)->with('license',$license);
$supplier_list = array('' => 'Select Supplier') + Supplier::orderBy('name', 'asc')->lists('name', 'id');
return View::make('backend/licenses/edit')->with('license_options',$license_options)->with('depreciation_list',$depreciation_list)->with('supplier_list',$supplier_list)->with('license',$license);
}
}
@@ -23,7 +23,7 @@ class LocationsController extends AdminController
public function getIndex()
{
// Grab all the locations
$locations = Location::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$locations = Location::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/locations/index', compact('locations'));
@@ -21,7 +21,7 @@ class ManufacturersController extends AdminController
public function getIndex()
{
// Grab all the manufacturers
$manufacturers = Manufacturer::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$manufacturers = Manufacturer::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/manufacturers/index', compact('manufacturers'));
+27 -1
View File
@@ -1,6 +1,7 @@
<?php namespace Controllers\Admin;
use AdminController;
use Image;
use Input;
use Lang;
use Model;
@@ -24,7 +25,7 @@ class ModelsController extends AdminController
public function getIndex()
{
// Grab all the models
$models = Model::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$models = Model::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/models/index', compact('models'));
@@ -88,6 +89,16 @@ class ModelsController extends AdminController
$model->user_id = Sentry::getId();
//$model->eol = e(Input::get('eol'));
if (Input::file('image')) {
$image = Input::file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/models/'.$file_name);
Image::make($image->getRealPath())->resize(300, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$model->image = $file_name;
}
// Was it created?
if($model->save()) {
@@ -172,6 +183,21 @@ class ModelsController extends AdminController
$model->modelno = e(Input::get('modelno'));
$model->manufacturer_id = e(Input::get('manufacturer_id'));
$model->category_id = e(Input::get('category_id'));
if (Input::file('image')) {
$image = Input::file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/models/'.$file_name);
Image::make($image->getRealPath())->resize(300, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$model->image = $file_name;
}
if (Input::get('image_delete') == 1 && Input::file('image') == "") {
$model->image = NULL;
}
// Was it created?
if($model->save()) {
@@ -82,8 +82,10 @@ class SettingsController extends AdminController
$setting->id = '1';
$setting->site_name = e(Input::get('site_name'));
$setting->display_asset_name = e(Input::get('display_asset_name', '0'));
$setting->display_checkout_date = e(Input::get('display_checkout_date', '0'));
$setting->per_page = e(Input::get('per_page'));
$setting->qr_code = e(Input::get('qr_code', '0'));
$setting->display_eol = e(Input::get('display_eol', '0'));
$setting->qr_text = e(Input::get('qr_text'));
// Was the asset updated?
@@ -23,7 +23,7 @@ class StatuslabelsController extends AdminController
public function getIndex()
{
// Grab all the statuslabels
$statuslabels = Statuslabel::orderBy('created_at', 'DESC')->paginate(10);
$statuslabels = Statuslabel::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/statuslabels/index', compact('statuslabels'));
@@ -21,7 +21,7 @@ class SuppliersController extends AdminController
public function getIndex()
{
// Grab all the suppliers
$suppliers = Supplier::orderBy('created_at', 'DESC')->paginate(Setting::getSettings()->per_page);
$suppliers = Supplier::orderBy('created_at', 'DESC')->get();
// Show the page
return View::make('backend/suppliers/index', compact('suppliers'));
@@ -9,12 +9,13 @@ class SetNullvaluesForUser extends Migration
*
* @return void
*/
public function up()
{
//
DB::statement('ALTER TABLE users MODIFY phone varchar(20) null');
DB::statement('ALTER TABLE users MODIFY jobtitle varchar(50) null');
$prefix = DB::getTablePrefix();
DB::statement('ALTER TABLE '.$prefix.'users MODIFY phone varchar(20) null');
DB::statement('ALTER TABLE '.$prefix.'users MODIFY jobtitle varchar(50) null');
}
@@ -11,7 +11,7 @@ class EditAddedOnAssetLogsTable extends Migration
*/
public function up()
{
DB::statement('ALTER TABLE asset_logs MODIFY added_on timestamp null');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'asset_logs MODIFY added_on timestamp null');
}
@@ -11,8 +11,9 @@ class EditLocationIdAssetLogsTable extends Migration
*/
public function up()
{
DB::statement('ALTER TABLE asset_logs MODIFY location_id int(11) null');
DB::statement('ALTER TABLE asset_logs MODIFY added_on timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP');
$prefix=DB::getTablePrefix();
DB::statement('ALTER TABLE '.$prefix.'asset_logs MODIFY location_id int(11) null');
DB::statement('ALTER TABLE '.$prefix.'asset_logs MODIFY added_on timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP');
}
@@ -11,7 +11,7 @@ class AlterWarrantyColumnOnAssets extends Migration
*/
public function up()
{
DB::statement('ALTER TABLE assets CHANGE warrantee_months warranty_months int (3)');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'assets CHANGE warrantee_months warranty_months int (3)');
}
/**
@@ -11,11 +11,11 @@ class AddNullableToLicensesTable extends Migration
*/
public function up()
{
//
DB::statement('ALTER TABLE licenses MODIFY order_number varchar(50) null');
DB::statement('ALTER TABLE licenses MODIFY notes varchar(255) null');
DB::statement('ALTER TABLE licenses MODIFY license_name varchar(100) null');
DB::statement('ALTER TABLE licenses MODIFY license_email varchar(120) null');
$prefix = DB::getTablePrefix();
DB::statement('ALTER TABLE ' . $prefix . 'licenses MODIFY order_number varchar(50) null');
DB::statement('ALTER TABLE ' . $prefix . 'licenses MODIFY notes varchar(255) null');
DB::statement('ALTER TABLE ' . $prefix . 'licenses MODIFY license_name varchar(100) null');
DB::statement('ALTER TABLE ' . $prefix . 'licenses MODIFY license_email varchar(120) null');
}
/**
@@ -13,7 +13,7 @@ class AlterDefaultLicenseDepreciationId extends Migration
public function up()
{
//
DB::statement('ALTER TABLE licenses MODIFY column depreciation_id tinyint(1) NOT NULL DEFAULT "0"');
DB::statement('ALTER TABLE '.DB::getTablePrefix().'licenses MODIFY column depreciation_id tinyint(1) NOT NULL DEFAULT "0"');
}
@@ -13,7 +13,7 @@ class AlterDefaultValuesLicenses extends Migration
public function up()
{
//
DB::statement('ALTER TABLE license_seats MODIFY column notes text NULL');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'license_seats MODIFY column notes text NULL');
}
/**
@@ -13,7 +13,7 @@ class MakeAssetLogCheckedoutToNullable extends Migration
public function up()
{
//
DB::statement('ALTER TABLE asset_logs MODIFY column checkedout_to int(11) NULL');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'asset_logs MODIFY column checkedout_to int(11) NULL');
}
/**
@@ -13,7 +13,7 @@ class MakeAssetLogPurchasedateToNullable extends Migration
public function up()
{
//
DB::statement('ALTER TABLE licenses MODIFY column purchase_date date NULL');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'licenses MODIFY column purchase_date date NULL');
}
/**
@@ -13,7 +13,7 @@ class MakeAssetIdInLogsNullable extends Migration {
public function up()
{
//
DB::statement('ALTER TABLE asset_logs MODIFY column asset_id int NULL');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'asset_logs MODIFY column asset_id int NULL');
}
/**
@@ -12,21 +12,22 @@ class Alpha042Release extends Migration {
*/
public function up()
{
$prefix = DB::getTablePrefix();
Schema::table('assets', function(Blueprint $table)
{
//
});
DB::statement('UPDATE assets SET status_id="0" where status_id is null');
DB::statement('UPDATE assets SET purchase_cost=0 where purchase_cost is null');
DB::statement('UPDATE models SET eol=0 where eol is null');
DB::statement('UPDATE users SET location_id=0 where location_id is null');
DB::statement('UPDATE assets SET asset_tag=" " WHERE asset_tag is null');
DB::statement('UPDATE locations SET state=" " where state is null');
DB::statement('UPDATE models SET manufacturer_id="0" where manufacturer_id is null');
DB::statement('UPDATE models SET category_id="0" where category_id is null');
DB::statement('UPDATE '.$prefix.'assets SET status_id="0" where status_id is null');
DB::statement('UPDATE '.$prefix.'assets SET purchase_cost=0 where purchase_cost is null');
DB::statement('UPDATE '.$prefix.'models SET eol=0 where eol is null');
DB::statement('UPDATE '.$prefix.'users SET location_id=0 where location_id is null');
DB::statement('UPDATE '.$prefix.'assets SET asset_tag=" " WHERE asset_tag is null');
DB::statement('UPDATE '.$prefix.'locations SET state=" " where state is null');
DB::statement('UPDATE '.$prefix.'models SET manufacturer_id="0" where manufacturer_id is null');
DB::statement('UPDATE '.$prefix.'models SET category_id="0" where category_id is null');
DB::statement('ALTER TABLE assets '
DB::statement('ALTER TABLE '.$prefix.'assets '
. 'MODIFY COLUMN name VARCHAR(255) NULL , '
. 'MODIFY COLUMN asset_tag VARCHAR(255) NOT NULL , '
. 'MODIFY COLUMN purchase_cost DECIMAL(13,4) NOT NULL DEFAULT "0" , '
@@ -36,26 +37,26 @@ class Alpha042Release extends Migration {
. 'MODIFY COLUMN archived TINYINT(1) NOT NULL DEFAULT "0" , '
. 'MODIFY COLUMN depreciate TINYINT(1) NOT NULL DEFAULT "0"');
DB::statement('ALTER TABLE licenses '
DB::statement('ALTER TABLE '.$prefix.'licenses '
. 'MODIFY COLUMN purchase_cost DECIMAL(13,4) NULL , '
. 'MODIFY COLUMN depreciate TINYINT(1) NULL DEFAULT "0"');
DB::statement('ALTER TABLE license_seats '
DB::statement('ALTER TABLE '.$prefix.'license_seats '
. 'MODIFY COLUMN assigned_to INT(11) NULL ');
DB::statement('ALTER TABLE locations '
DB::statement('ALTER TABLE '.$prefix.'locations '
. 'MODIFY COLUMN state VARCHAR(255) NOT NULL ,'
. 'MODIFY COLUMN address2 VARCHAR(255) NULL ,'
. 'MODIFY COLUMN zip VARCHAR(10) NULL ');
DB::statement('ALTER TABLE models '
DB::statement('ALTER TABLE '.$prefix.'models '
. 'MODIFY COLUMN modelno VARCHAR(255) NULL , '
. 'MODIFY COLUMN manufacturer_id INT(11) NOT NULL , '
. 'MODIFY COLUMN category_id INT(11) NOT NULL , '
. 'MODIFY COLUMN depreciation_id INT(11) NOT NULL DEFAULT "0" , '
. 'MODIFY COLUMN eol INT(11) NULL DEFAULT "0"');
DB::statement('ALTER TABLE users '
DB::statement('ALTER TABLE '.$prefix.'users '
. 'MODIFY COLUMN first_name VARCHAR(255) NOT NULL , '
. 'MODIFY COLUMN last_name VARCHAR(255) NOT NULL , '
. 'MODIFY COLUMN location_id INT(11) NOT NULL');
@@ -13,7 +13,7 @@ class MakeLocationIdNullable extends Migration {
public function up()
{
//
DB::statement('ALTER TABLE users MODIFY column location_id int NULL');
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'users MODIFY column location_id int NULL');
}
/**
@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterSupplierStateTo32 extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'suppliers MODIFY column state varchar(32) null');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::statement('ALTER TABLE ' . DB::getTablePrefix() . 'suppliers MODIFY column state varchar(2) null');
}
}
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddDisplayCheckoutDate extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('settings', function ($table) {
$table->integer('display_checkout_date')->nullable()->default(NULL);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('settings', function ($table) {
$table->dropColumn('display_checkout_date');
});
}
}
@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddAvatarFieldToUsersTable extends Migration {
/**
* Make changes to the table.
*
* @return void
*/
public function up()
{
Schema::table('users', function(Blueprint $table) {
$table->string('avatar')->nullable();
});
}
/**
* Revert the changes to the table.
*
* @return void
*/
public function down()
{
Schema::table('users', function(Blueprint $table) {
$table->dropColumn('avatar');
});
}
}
@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddImageFieldToModelsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('models', function(Blueprint $table) {
$table->string('image')->nullable();
});
}
/**
* Revert the changes to the table.
*
* @return void
*/
public function down()
{
Schema::table('models', function(Blueprint $table) {
$table->dropColumn('image');
});
}
}
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddEolDisplayToSettings extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('settings', function ($table) {
$table->integer('display_eol')->nullable()->default(NULL);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('settings', function ($table) {
$table->dropColumn('display_eol');
});
}
}
@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateGroupFieldForReporting extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
$prefix = DB::getTablePrefix();
Schema::table('groups', function(Blueprint $table)
{
//
});
DB::statement('UPDATE '.$prefix.'groups SET permissions="{\"admin\":1,\"users\":1,\"reports\":1}" where id=1');
DB::statement('UPDATE '.$prefix.'groups SET permissions="{\"users\":1,\"reports\":1}" where id=2');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFieldsToLicenses extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('licenses', function ($table) {
$table->integer('supplier_id')->nullable()->default(NULL);
$table->date('expiration_date')->nullable();
$table->string('purchase_order');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('licenses', function ($table) {
$table->dropColumn('supplier_id');
$table->dropColumn('expiration_date');
$table->dropColumn('purchase_order');
});
}
}
+28
View File
@@ -89,6 +89,34 @@ Route::filter('admin-auth', function () {
}
});
/*
|--------------------------------------------------------------------------
| Reporting authentication filter.
|--------------------------------------------------------------------------
|
| This filter does the same as the 'auth' filter but it checks if the user
| has 'reports' privileges.
|
*/
Route::filter('reporting-auth', function () {
// Check if the user is logged in
if ( ! Sentry::check()) {
// Store the current uri in the session
Session::put('loginRedirect', Request::url());
// Redirect to the login page
return Redirect::route('signin');
}
// Check if the user has access to the admin pages
if ( ! Sentry::getUser()->hasAccess('reports')) {
// Show the insufficient permissions page
return Redirect::route('profile')->with("error","You do not have permission to view this page.");
}
});
/*
|--------------------------------------------------------------------------
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'about_asset_categories' => 'crwdns634:0crwdne634:0',
'about_categories' => 'crwdns635:0crwdne635:0',
'asset_categories' => 'crwdns636:0crwdne636:0',
'category_name' => 'crwdns637:0crwdne637:0',
'create' => 'crwdns638:0crwdne638:0',
'update' => 'crwdns639:0crwdne639:0',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'does_not_exist' => 'crwdns625:0crwdne625:0',
'assoc_users' => 'crwdns626:0crwdne626:0',
'create' => array(
'error' => 'crwdns627:0crwdne627:0',
'success' => 'crwdns628:0crwdne628:0'
),
'update' => array(
'error' => 'crwdns629:0crwdne629:0',
'success' => 'crwdns630:0crwdne630:0'
),
'delete' => array(
'confirm' => 'crwdns631:0crwdne631:0',
'error' => 'crwdns632:0crwdne632:0',
'success' => 'crwdns633:0crwdne633:0'
)
);
+9
View File
@@ -0,0 +1,9 @@
<?php
return array(
'id' => 'crwdns622:0crwdne622:0',
'parent' => 'crwdns623:0crwdne623:0',
'title' => 'crwdns624:0crwdne624:0',
);
+12
View File
@@ -0,0 +1,12 @@
<?php
return array(
'about_asset_depreciations' => 'crwdns819:0crwdne819:0',
'about_depreciations' => 'crwdns820:0crwdne820:0',
'asset_depreciations' => 'crwdns821:0crwdne821:0',
'create_depreciation' => 'crwdns822:0crwdne822:0',
'depreciation_name' => 'crwdns823:0crwdne823:0',
'number_of_months' => 'crwdns824:0crwdne824:0',
'update_depreciation' => 'crwdns825:0crwdne825:0',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'crwdns810:0crwdne810:0',
'assoc_users' => 'crwdns811:0crwdne811:0',
'create' => array(
'error' => 'crwdns812:0crwdne812:0',
'success' => 'crwdns813:0crwdne813:0'
),
'update' => array(
'error' => 'crwdns814:0crwdne814:0',
'success' => 'crwdns815:0crwdne815:0'
),
'delete' => array(
'confirm' => 'crwdns816:0crwdne816:0',
'error' => 'crwdns817:0crwdne817:0',
'success' => 'crwdns818:0crwdne818:0'
)
);
+10
View File
@@ -0,0 +1,10 @@
<?php
return array(
'id' => 'crwdns806:0crwdne806:0',
'months' => 'crwdns807:0crwdne807:0',
'term' => 'crwdns808:0crwdne808:0',
'title' => 'crwdns809:0crwdne809:0',
);
+22
View File
@@ -0,0 +1,22 @@
<?php
return array(
'group_exists' => 'crwdns880:0crwdne880:0',
'group_not_found' => 'crwdns881:0crwdne881:0',
'group_name_required' => 'crwdns882:0crwdne882:0',
'success' => array(
'create' => 'crwdns883:0crwdne883:0',
'update' => 'crwdns884:0crwdne884:0',
'delete' => 'crwdns885:0crwdne885:0',
),
'delete' => array(
'confirm' => 'crwdns886:0crwdne886:0',
'create' => 'crwdns887:0crwdne887:0',
'update' => 'crwdns888:0crwdne888:0',
'delete' => 'crwdns889:0crwdne889:0',
),
);
+9
View File
@@ -0,0 +1,9 @@
<?php
return array(
'id' => 'crwdns877:0crwdne877:0',
'name' => 'crwdns878:0crwdne878:0',
'users' => 'crwdns879:0crwdne879:0',
);
+13
View File
@@ -0,0 +1,13 @@
<?php
return array(
'group_management' => 'crwdns870:0crwdne870:0',
'create_group' => 'crwdns871:0crwdne871:0',
'edit_group' => 'crwdns872:0crwdne872:0',
'group_name' => 'crwdns873:0crwdne873:0',
'group_admin' => 'crwdns874:0crwdne874:0',
'allow' => 'crwdns875:0crwdne875:0',
'deny' => 'crwdns876:0crwdne876:0',
);
+34
View File
@@ -0,0 +1,34 @@
<?php
return array(
'checkedout_to' => 'crwdns695:0crwdne695:0',
'checkout_to' => 'crwdns696:0crwdne696:0',
'cost' => 'crwdns697:0crwdne697:0',
'create' => 'crwdns698:0crwdne698:0',
'date' => 'crwdns699:0crwdne699:0',
'depreciates_on' => 'crwdns700:0crwdne700:0',
'depreciation' => 'crwdns701:0crwdne701:0',
'default_location' => 'crwdns702:0crwdne702:0',
'eol_date' => 'crwdns703:0crwdne703:0',
'eol_rate' => 'crwdns704:0crwdne704:0',
'expires' => 'crwdns705:0crwdne705:0',
'fully_depreciated' => 'crwdns706:0crwdne706:0',
'help_checkout' => 'crwdns707:0crwdne707:0',
'manufacturer' => 'crwdns708:0crwdne708:0',
'model' => 'crwdns709:0crwdne709:0',
'months' => 'crwdns710:0crwdne710:0',
'name' => 'crwdns711:0crwdne711:0',
'notes' => 'crwdns712:0crwdne712:0',
'order' => 'crwdns713:0crwdne713:0',
'qr' => 'crwdns714:0crwdne714:0',
'requestable' => 'crwdns715:0crwdne715:0',
'serial' => 'crwdns716:0crwdne716:0',
'status' => 'crwdns717:0crwdne717:0',
'supplier' => 'crwdns718:0crwdne718:0',
'tag' => 'crwdns719:0crwdne719:0',
'update' => 'crwdns720:0crwdne720:0',
'warranty' => 'crwdns721:0crwdne721:0',
'years' => 'crwdns722:0crwdne722:0',
)
;
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'asset' => 'crwdns755:0crwdne755:0',
'checkin' => 'crwdns756:0crwdne756:0',
'checkout' => 'crwdns757:0crwdne757:0',
'clone' => 'crwdns758:0crwdne758:0',
'edit' => 'crwdns759:0crwdne759:0',
'pending' => 'crwdns760:0crwdne760:0',
'view' => 'crwdns761:0crwdne761:0',
);
+37
View File
@@ -0,0 +1,37 @@
<?php
return array(
'undeployable' => 'crwdns739:0crwdne739:0',
'does_not_exist' => 'crwdns740:0crwdne740:0',
'assoc_users' => 'crwdns741:0crwdne741:0',
'create' => array(
'error' => 'crwdns742:0crwdne742:0',
'success' => 'crwdns743:0crwdne743:0'
),
'update' => array(
'error' => 'crwdns744:0crwdne744:0',
'success' => 'crwdns745:0crwdne745:0'
),
'delete' => array(
'confirm' => 'crwdns746:0crwdne746:0',
'error' => 'crwdns747:0crwdne747:0',
'success' => 'crwdns748:0crwdne748:0'
),
'checkout' => array(
'error' => 'crwdns749:0crwdne749:0',
'success' => 'crwdns750:0crwdne750:0',
'user_does_not_exist' => 'crwdns751:0crwdne751:0'
),
'checkin' => array(
'error' => 'crwdns752:0crwdne752:0',
'success' => 'crwdns753:0crwdne753:0',
'user_does_not_exist' => 'crwdns754:0crwdne754:0'
)
);
+22
View File
@@ -0,0 +1,22 @@
<?php
return array(
'asset_tag' => 'crwdns723:0crwdne723:0',
'asset_model' => 'crwdns724:0crwdne724:0',
'book_value' => 'crwdns725:0crwdne725:0',
'change' => 'crwdns726:0crwdne726:0',
'checkout_date' => 'crwdns727:0crwdne727:0',
'checkoutto' => 'crwdns728:0crwdne728:0',
'diff' => 'crwdns729:0crwdne729:0',
'dl_csv' => 'crwdns730:0crwdne730:0',
'eol' => 'crwdns731:0crwdne731:0',
'id' => 'crwdns732:0crwdne732:0',
'location' => 'crwdns733:0crwdne733:0',
'purchase_cost' => 'crwdns734:0crwdne734:0',
'purchase_date' => 'crwdns735:0crwdne735:0',
'serial' => 'crwdns736:0crwdne736:0',
'status' => 'crwdns737:0crwdne737:0',
'title' => 'crwdns738:0crwdne738:0',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'asset' => 'crwdns904:0crwdne904:0',
'checkin' => 'crwdns905:0crwdne905:0',
'checkin' => 'crwdns905:0crwdne905:0',
'cost' => 'crwdns907:0crwdne907:0',
'cost' => 'crwdns907:0crwdne907:0',
'create' => 'crwdns909:0crwdne909:0',
'date' => 'crwdns910:0crwdne910:0',
'date' => 'crwdns910:0crwdne910:0',
'depreciation' => 'crwdns912:0crwdne912:0',
'name' => 'crwdns913:0crwdne913:0',
'no_depreciation' => 'crwdns914:0crwdne914:0',
'notes' => 'crwdns915:0crwdne915:0',
'order' => 'crwdns916:0crwdne916:0',
'seats' => 'crwdns917:0crwdne917:0',
'serial' => 'crwdns918:0crwdne918:0',
'to_email' => 'crwdns919:0crwdne919:0',
'to_name' => 'crwdns920:0crwdne920:0',
'update' => 'crwdns921:0crwdne921:0',
'checkout_help' => 'crwdns922:0crwdne922:0'
);
+19
View File
@@ -0,0 +1,19 @@
<?php
return array(
'checkin' => 'crwdns950:0crwdne950:0',
'checkout_history' => 'crwdns951:0crwdne951:0',
'checkout' => 'crwdns952:0crwdne952:0',
'edit' => 'crwdns953:0crwdne953:0',
'clone' => 'crwdns954:0crwdne954:0',
'history_for' => 'crwdns955:0crwdne955:0',
'in_out' => 'crwdns956:0crwdne956:0',
'info' => 'crwdns957:0crwdne957:0',
'license_seats' => 'crwdns958:0crwdne958:0',
'seat' => 'crwdns959:0crwdne959:0',
'seats' => 'crwdns960:0crwdne960:0',
'software_licenses' => 'crwdns961:0crwdne961:0',
'user' => 'crwdns962:0crwdne962:0',
'view' => 'crwdns963:0crwdne963:0',
);
+38
View File
@@ -0,0 +1,38 @@
<?php
return array(
'does_not_exist' => 'crwdns934:0crwdne934:0',
'user_does_not_exist' => 'crwdns935:0crwdne935:0',
'asset_does_not_exist' => 'crwdns936:0crwdne936:0',
'owner_doesnt_match_asset' => 'crwdns937:0crwdne937:0',
'assoc_users' => 'crwdns938:0crwdne938:0',
'create' => array(
'error' => 'crwdns939:0crwdne939:0',
'success' => 'crwdns940:0crwdne940:0'
),
'update' => array(
'error' => 'crwdns941:0crwdne941:0',
'success' => 'crwdns942:0crwdne942:0'
),
'delete' => array(
'confirm' => 'crwdns943:0crwdne943:0',
'error' => 'crwdns944:0crwdne944:0',
'success' => 'crwdns945:0crwdne945:0'
),
'checkout' => array(
'error' => 'crwdns946:0crwdne946:0',
'success' => 'crwdns947:0crwdne947:0'
),
'checkin' => array(
'error' => 'crwdns948:0crwdne948:0',
'success' => 'crwdns949:0crwdne949:0'
),
);
+17
View File
@@ -0,0 +1,17 @@
<?php
return array(
'assigned_to' => 'crwdns923:0crwdne923:0',
'checkout' => 'crwdns924:0crwdne924:0',
'id' => 'crwdns925:0crwdne925:0',
'license_email' => 'crwdns926:0crwdne926:0',
'license_name' => 'crwdns927:0crwdne927:0',
'purchase_date' => 'crwdns928:0crwdne928:0',
'purchased' => 'crwdns929:0crwdne929:0',
'seats' => 'crwdns930:0crwdne930:0',
'hardware' => 'crwdns931:0crwdne931:0',
'serial' => 'crwdns932:0crwdne932:0',
'title' => 'crwdns933:0crwdne933:0',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'crwdns650:0crwdne650:0',
'assoc_users' => 'crwdns651:0crwdne651:0',
'create' => array(
'error' => 'crwdns652:0crwdne652:0',
'success' => 'crwdns653:0crwdne653:0'
),
'update' => array(
'error' => 'crwdns654:0crwdne654:0',
'success' => 'crwdns655:0crwdne655:0'
),
'delete' => array(
'confirm' => 'crwdns656:0crwdne656:0',
'error' => 'crwdns657:0crwdne657:0',
'success' => 'crwdns658:0crwdne658:0'
)
);
+15
View File
@@ -0,0 +1,15 @@
<?php
return array(
'id' => 'crwdns640:0crwdne640:0',
'city' => 'crwdns641:0crwdne641:0',
'state' => 'crwdns642:0crwdne642:0',
'country' => 'crwdns643:0crwdne643:0',
'create' => 'crwdns644:0crwdne644:0',
'update' => 'crwdns645:0crwdne645:0',
'name' => 'crwdns646:0crwdne646:0',
'address' => 'crwdns647:0crwdne647:0',
'zip' => 'crwdns648:0crwdne648:0',
'locations' => 'crwdns649:0crwdne649:0',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'does_not_exist' => 'crwdns895:0crwdne895:0',
'assoc_users' => 'crwdns896:0crwdne896:0',
'create' => array(
'error' => 'crwdns897:0crwdne897:0',
'success' => 'crwdns898:0crwdne898:0'
),
'update' => array(
'error' => 'crwdns899:0crwdne899:0',
'success' => 'crwdns900:0crwdne900:0'
),
'delete' => array(
'confirm' => 'crwdns901:0crwdne901:0',
'error' => 'crwdns902:0crwdne902:0',
'success' => 'crwdns903:0crwdne903:0'
)
);
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'asset_manufacturers' => 'crwdns890:0crwdne890:0',
'create' => 'crwdns891:0crwdne891:0',
'id' => 'crwdns892:0crwdne892:0',
'name' => 'crwdns893:0crwdne893:0',
'update' => 'crwdns894:0crwdne894:0',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'crwdns671:0crwdne671:0',
'assoc_users' => 'crwdns672:0crwdne672:0',
'create' => array(
'error' => 'crwdns673:0crwdne673:0',
'success' => 'crwdns674:0crwdne674:0'
),
'update' => array(
'error' => 'crwdns675:0crwdne675:0',
'success' => 'crwdns676:0crwdne676:0'
),
'delete' => array(
'confirm' => 'crwdns677:0crwdne677:0',
'error' => 'crwdns678:0crwdne678:0',
'success' => 'crwdns679:0crwdne679:0'
)
);
+17
View File
@@ -0,0 +1,17 @@
<?php
return array(
'create' => 'crwdns659:0crwdne659:0',
'created_at' => 'crwdns660:0crwdne660:0',
'eol' => 'crwdns661:0crwdne661:0',
'modelnumber' => 'crwdns662:0crwdne662:0',
'name' => 'crwdns663:0crwdne663:0',
'numassets' => 'crwdns664:0crwdne664:0',
'title' => 'crwdns665:0crwdne665:0',
'update' => 'crwdns666:0crwdne666:0',
'view' => 'crwdns667:0crwdne667:0',
'update' => 'crwdns666:0crwdne666:0',
'clone' => 'crwdns669:0crwdne669:0',
'edit' => 'crwdns670:0crwdne670:0',
);
+18
View File
@@ -0,0 +1,18 @@
<?php
return array(
'display_asset_name' => 'crwdns828:0crwdne828:0',
'display_checkout_date' => 'crwdns829:0crwdne829:0',
'display_qr' => 'crwdns830:0crwdne830:0',
'info' => 'crwdns831:0crwdne831:0',
'per_page' => 'crwdns832:0crwdne832:0',
'php_gd_info' => 'crwdns833:0crwdne833:0',
'php_gd_warning' => 'crwdns834:0crwdne834:0',
'qr_help' => 'crwdns835:0crwdne835:0',
'qr_text' => 'crwdns836:0crwdne836:0',
'setting' => 'crwdns837:0crwdne837:0',
'settings' => 'crwdns838:0crwdne838:0',
'site_name' => 'crwdns839:0crwdne839:0',
'update' => 'crwdns840:0crwdne840:0',
'value' => 'crwdns841:0crwdne841:0',
);
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'update' => array(
'error' => 'crwdns826:0crwdne826:0',
'success' => 'crwdns827:0crwdne827:0'
),
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'crwdns686:0crwdne686:0',
'assoc_users' => 'crwdns687:0crwdne687:0',
'create' => array(
'error' => 'crwdns688:0crwdne688:0',
'success' => 'crwdns689:0crwdne689:0'
),
'update' => array(
'error' => 'crwdns690:0crwdne690:0',
'success' => 'crwdns691:0crwdne691:0'
),
'delete' => array(
'confirm' => 'crwdns692:0crwdne692:0',
'error' => 'crwdns693:0crwdne693:0',
'success' => 'crwdns694:0crwdne694:0'
)
);
+10
View File
@@ -0,0 +1,10 @@
<?php
return array(
'name' => 'crwdns680:0crwdne680:0',
'title' => 'crwdns681:0crwdne681:0',
'update' => 'crwdns682:0crwdne682:0',
'create' => 'crwdns683:0crwdne683:0',
'about' => 'crwdns684:0crwdne684:0',
'info' => 'crwdns685:0crwdne685:0',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'does_not_exist' => 'crwdns861:0crwdne861:0',
'assoc_users' => 'crwdns862:0crwdne862:0',
'create' => array(
'error' => 'crwdns863:0crwdne863:0',
'success' => 'crwdns864:0crwdne864:0'
),
'update' => array(
'error' => 'crwdns865:0crwdne865:0',
'success' => 'crwdns866:0crwdne866:0'
),
'delete' => array(
'confirm' => 'crwdns867:0crwdne867:0',
'error' => 'crwdns868:0crwdne868:0',
'success' => 'crwdns869:0crwdne869:0'
)
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'address' => 'crwdns842:0crwdne842:0',
'assets' => 'crwdns843:0crwdne843:0',
'city' => 'crwdns844:0crwdne844:0',
'contact' => 'crwdns845:0crwdne845:0',
'country' => 'crwdns846:0crwdne846:0',
'create' => 'crwdns847:0crwdne847:0',
'email' => 'crwdns848:0crwdne848:0',
'fax' => 'crwdns849:0crwdne849:0',
'id' => 'crwdns850:0crwdne850:0',
'name' => 'crwdns851:0crwdne851:0',
'notes' => 'crwdns852:0crwdne852:0',
'phone' => 'crwdns853:0crwdne853:0',
'state' => 'crwdns854:0crwdne854:0',
'suppliers' => 'crwdns855:0crwdne855:0',
'update' => 'crwdns856:0crwdne856:0',
'url' => 'crwdns857:0crwdne857:0',
'view' => 'crwdns858:0crwdne858:0',
'view_assets_for' => 'crwdns859:0crwdne859:0',
'zip' => 'crwdns860:0crwdne860:0',
);
+8
View File
@@ -0,0 +1,8 @@
<?php
return array(
'edit' => 'crwdns804:0crwdne804:0',
'clone' => 'crwdns805:0crwdne805:0',
);
+29
View File
@@ -0,0 +1,29 @@
<?php
return array(
'user_exists' => 'crwdns787:0crwdne787:0',
'user_not_found' => 'crwdns788:0crwdne788:0',
'user_login_required' => 'crwdns789:0crwdne789:0',
'user_password_required' => 'crwdns790:0crwdne790:0',
'insufficient_permissions' => 'crwdns791:0crwdne791:0',
'success' => array(
'create' => 'crwdns792:0crwdne792:0',
'update' => 'crwdns793:0crwdne793:0',
'delete' => 'crwdns794:0crwdne794:0',
'ban' => 'crwdns795:0crwdne795:0',
'unban' => 'crwdns796:0crwdne796:0',
'suspend' => 'crwdns797:0crwdne797:0',
'unsuspend' => 'crwdns798:0crwdne798:0',
'restored' => 'crwdns799:0crwdne799:0'
),
'error' => array(
'create' => 'crwdns800:0crwdne800:0',
'update' => 'crwdns801:0crwdne801:0',
'delete' => 'crwdns802:0crwdne802:0',
'unsuspend' => 'crwdns803:0crwdne803:0'
),
);
+30
View File
@@ -0,0 +1,30 @@
<?php
return array(
'activated' => 'crwdns762:0crwdne762:0',
'allow' => 'crwdns763:0crwdne763:0',
'checkedout' => 'crwdns764:0crwdne764:0',
'created_at' => 'crwdns765:0crwdne765:0',
'createuser' => 'crwdns766:0crwdne766:0',
'deny' => 'crwdns767:0crwdne767:0',
'email' => 'crwdns768:0crwdne768:0',
'employee_num' => 'crwdns769:0crwdne769:0',
'first_name' => 'crwdns770:0crwdne770:0',
'groupnotes' => 'crwdns771:0crwdne771:0',
'id' => 'crwdns772:0crwdne772:0',
'inherit' => 'crwdns773:0crwdne773:0',
'job' => 'crwdns774:0crwdne774:0',
'last_login' => 'crwdns775:0crwdne775:0',
'last_name' => 'crwdns776:0crwdne776:0',
'location' => 'crwdns777:0crwdne777:0',
'manager' => 'crwdns778:0crwdne778:0',
'name' => 'crwdns779:0crwdne779:0',
'password_confirm' => 'crwdns780:0crwdne780:0',
'password' => 'crwdns781:0crwdne781:0',
'phone' => 'crwdns782:0crwdne782:0',
'title' => 'crwdns783:0crwdne783:0',
'updateuser' => 'crwdns784:0crwdne784:0',
'cloneuser' => 'crwdns785:0crwdne785:0',
'viewusers' => 'crwdns786:0crwdne786:0',
);
+36
View File
@@ -0,0 +1,36 @@
<?php
return array(
'account_already_exists' => 'crwdns1102:0crwdne1102:0',
'account_not_found' => 'crwdns1103:0crwdne1103:0',
'account_not_activated' => 'crwdns1104:0crwdne1104:0',
'account_suspended' => 'crwdns1105:0crwdne1105:0',
'account_banned' => 'crwdns1106:0crwdne1106:0',
'signin' => array(
'error' => 'crwdns1107:0crwdne1107:0',
'success' => 'crwdns1108:0crwdne1108:0',
),
'signup' => array(
'error' => 'crwdns1109:0crwdne1109:0',
'success' => 'crwdns1110:0crwdne1110:0',
),
'forgot-password' => array(
'error' => 'crwdns1111:0crwdne1111:0',
'success' => 'crwdns1112:0crwdne1112:0',
),
'forgot-password-confirm' => array(
'error' => 'crwdns1113:0crwdne1113:0',
'success' => 'crwdns1114:0crwdne1114:0',
),
'activate' => array(
'error' => 'crwdns1115:0crwdne1115:0',
'success' => 'crwdns1116:0crwdne1116:0',
),
);
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'edit' => 'crwdns964:0crwdne964:0',
'delete' => 'crwdns965:0crwdne965:0',
'restore' => 'crwdns966:0crwdne966:0',
'actions' => 'crwdns967:0crwdne967:0',
'submit' => 'crwdns968:0crwdne968:0',
);
+89
View File
@@ -0,0 +1,89 @@
<?php
return array(
'address' => 'crwdns1019:0crwdne1019:0',
'admin' => 'crwdns1020:0crwdne1020:0',
'all_assets' => 'crwdns1021:0crwdne1021:0',
'all' => 'crwdns1022:0crwdne1022:0',
'asset_models' => 'crwdns1023:0crwdne1023:0',
'asset' => 'crwdns1024:0crwdne1024:0',
'asset_tag' => 'crwdns1025:0crwdne1025:0',
'assets_available' => 'crwdns1026:0crwdne1026:0',
'assets' => 'crwdns1027:0crwdne1027:0',
'avatar_delete' => 'crwdns1028:0crwdne1028:0',
'avatar_upload' => 'crwdns1029:0crwdne1029:0',
'back' => 'crwdns1030:0crwdne1030:0',
'cancel' => 'crwdns1031:0crwdne1031:0',
'categories' => 'crwdns1032:0crwdne1032:0',
'category' => 'crwdns1033:0crwdne1033:0',
'changeemail' => 'crwdns1034:0crwdne1034:0',
'changepassword' => 'crwdns1035:0crwdne1035:0',
'checkin' => 'crwdns1036:0crwdne1036:0',
'checkout' => 'crwdns1037:0crwdne1037:0',
'city' => 'crwdns1038:0crwdne1038:0',
'country' => 'crwdns1039:0crwdne1039:0',
'create' => 'crwdns1040:0crwdne1040:0',
'created_asset' => 'crwdns1041:0crwdne1041:0',
'created_at' => 'crwdns1042:0crwdne1042:0',
'currency' => 'crwdns1043:0crwdne1043:0',
'current' => 'crwdns1044:0crwdne1044:0',
'date' => 'crwdns1045:0crwdne1045:0',
'delete' => 'crwdns1046:0crwdne1046:0',
'deleted' => 'crwdns1047:0crwdne1047:0',
'deployed' => 'crwdns1048:0crwdne1048:0',
'depreciation_report' => 'crwdns1049:0crwdne1049:0',
'depreciation' => 'crwdns1050:0crwdne1050:0',
'editprofile' => 'crwdns1051:0crwdne1051:0',
'eol' => 'crwdns1052:0crwdne1052:0',
'first_name' => 'crwdns1053:0crwdne1053:0',
'groups' => 'crwdns1054:0crwdne1054:0',
'history_for' => 'crwdns1055:0crwdne1055:0',
'id' => 'crwdns1056:0crwdne1056:0',
'image_delete' => 'crwdns1057:0crwdne1057:0',
'image_upload' => 'crwdns1058:0crwdne1058:0',
'last_name' => 'crwdns1059:0crwdne1059:0',
'license' => 'crwdns1060:0crwdne1060:0',
'licenses_available' => 'crwdns1061:0crwdne1061:0',
'licenses' => 'crwdns1062:0crwdne1062:0',
'list_all' => 'crwdns1063:0crwdne1063:0',
'location' => 'crwdns1064:0crwdne1064:0',
'locations' => 'crwdns1065:0crwdne1065:0',
'logout' => 'crwdns1066:0crwdne1066:0',
'manufacturer' => 'crwdns1067:0crwdne1067:0',
'manufacturers' => 'crwdns1068:0crwdne1068:0',
'model_no' => 'crwdns1069:0crwdne1069:0',
'months' => 'crwdns1070:0crwdne1070:0',
'moreinfo' => 'crwdns1071:0crwdne1071:0',
'name' => 'crwdns1072:0crwdne1072:0',
'no_depreciation' => 'crwdns1073:0crwdne1073:0',
'no_results' => 'crwdns1074:0crwdne1074:0',
'no' => 'crwdns1075:0crwdne1075:0',
'notes' => 'crwdns1076:0crwdne1076:0',
'pending' => 'crwdns1077:0crwdne1077:0',
'people' => 'crwdns1078:0crwdne1078:0',
'per_page' => 'crwdns1079:0crwdne1079:0',
'profile' => 'crwdns1080:0crwdne1080:0',
'ready_to_deploy' => 'crwdns1081:0crwdne1081:0',
'reports' => 'crwdns1082:0crwdne1082:0',
'save' => 'crwdns1083:0crwdne1083:0',
'settings' => 'crwdns1084:0crwdne1084:0',
'sign_in' => 'crwdns1085:0crwdne1085:0',
'site_name' => 'crwdns1086:0crwdne1086:0',
'state' => 'crwdns1087:0crwdne1087:0',
'status_labels' => 'crwdns1088:0crwdne1088:0',
'status' => 'crwdns1089:0crwdne1089:0',
'suppliers' => 'crwdns1090:0crwdne1090:0',
'total_assets' => 'crwdns1091:0crwdne1091:0',
'total_licenses' => 'crwdns1092:0crwdne1092:0',
'undeployable' => 'crwdns1093:0crwdne1093:0',
'unknown_admin' => 'crwdns1094:0crwdne1094:0',
'user' => 'crwdns1095:0crwdne1095:0',
'viewassets' => 'crwdns1096:0crwdne1096:0',
'website' => 'crwdns1097:0crwdne1097:0',
'welcome' => 'crwdns1098:0crwdne1098:0',
'years' => 'crwdns1099:0crwdne1099:0',
'yes' => 'crwdns1100:0crwdne1100:0',
'zip' => 'crwdns1101:0crwdne1101:0',
);
+20
View File
@@ -0,0 +1,20 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => 'crwdns1017:0crwdne1017:0',
'next' => 'crwdns1018:0crwdne1018:0',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
"password" => "crwdns969:0crwdne969:0",
"user" => "crwdns970:0crwdne970:0",
"token" => "crwdns971:0crwdne971:0",
"sent" => "crwdns972:0crwdne972:0",
);
+7
View File
@@ -0,0 +1,7 @@
<?php
return array(
'actions' => 'crwdns1016:0crwdne1016:0'
);
+95
View File
@@ -0,0 +1,95 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
"accepted" => "crwdns973:0crwdne973:0",
"active_url" => "crwdns974:0crwdne974:0",
"after" => "crwdns975:0crwdne975:0",
"alpha" => "crwdns976:0crwdne976:0",
"alpha_dash" => "crwdns977:0crwdne977:0",
"alpha_num" => "crwdns978:0crwdne978:0",
"before" => "crwdns979:0crwdne979:0",
"between" => array(
"numeric" => "crwdns980:0crwdne980:0",
"file" => "crwdns981:0crwdne981:0",
"string" => "crwdns982:0crwdne982:0",
),
"confirmed" => "crwdns983:0crwdne983:0",
"date" => "crwdns984:0crwdne984:0",
"date_format" => "crwdns985:0crwdne985:0",
"different" => "crwdns986:0crwdne986:0",
"digits" => "crwdns987:0crwdne987:0",
"digits_between" => "crwdns988:0crwdne988:0",
"email" => "crwdns989:0crwdne989:0",
"exists" => "crwdns990:0crwdne990:0",
"image" => "crwdns991:0crwdne991:0",
"in" => "crwdns992:0crwdne992:0",
"integer" => "crwdns993:0crwdne993:0",
"ip" => "crwdns994:0crwdne994:0",
"max" => array(
"numeric" => "crwdns995:0crwdne995:0",
"file" => "crwdns996:0crwdne996:0",
"string" => "crwdns997:0crwdne997:0",
),
"mimes" => "crwdns998:0crwdne998:0",
"min" => array(
"numeric" => "crwdns999:0crwdne999:0",
"file" => "crwdns1000:0crwdne1000:0",
"string" => "crwdns1001:0crwdne1001:0",
),
"not_in" => "crwdns1002:0crwdne1002:0",
"numeric" => "crwdns1003:0crwdne1003:0",
"regex" => "crwdns1004:0crwdne1004:0",
"required" => "crwdns1005:0crwdne1005:0",
"required_if" => "crwdns1006:0crwdne1006:0",
"required_with" => "crwdns1007:0crwdne1007:0",
"required_without" => "crwdns1008:0crwdne1008:0",
"same" => "crwdns1009:0crwdne1009:0",
"size" => array(
"numeric" => "crwdns1010:0crwdne1010:0",
"file" => "crwdns1011:0crwdne1011:0",
"string" => "crwdns1012:0crwdne1012:0",
),
"unique" => "crwdns1013:0crwdne1013:0",
"url" => "crwdns1014:0crwdne1014:0",
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => array(),
'alpha_space' => "crwdns1015:0crwdne1015:0",
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => array(),
);
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'about_asset_categories' => 'About Asset Categories',
'about_categories' => 'Asset categories help you organize your assets. Some example categories might be &quot;Desktops&quot;, &quot;Laptops&quot;, &quot;Mobile Phones&quot;, &quot;Tablets&quot;, and so on, but you can use asset categories any way that makes sense for you. ',
'asset_categories' => 'Asset Categories',
'category_name' => 'Category Name',
'create' => 'Create Category',
'update' => 'Update Category',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'does_not_exist' => 'Category does not exist.',
'assoc_users' => 'This category is currently associated with at least one model and cannot be deleted. Please update your models to no longer reference this category and try again. ',
'create' => array(
'error' => 'Category was not created, please try again.',
'success' => 'Category created successfully.'
),
'update' => array(
'error' => 'Category was not updated, please try again',
'success' => 'Category updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this category?',
'error' => 'There was an issue deleting the category. Please try again.',
'success' => 'The category was deleted successfully.'
)
);
+9
View File
@@ -0,0 +1,9 @@
<?php
return array(
'id' => 'ID',
'parent' => 'Parent',
'title' => 'Asset Category Name',
);
+12
View File
@@ -0,0 +1,12 @@
<?php
return array(
'about_asset_depreciations' => 'About Asset Depreciations',
'about_depreciations' => 'You can set up asset depreciations to depreciate assets based on straight-line depreciation.',
'asset_depreciations' => 'Asset Depreciations',
'create_depreciation' => 'Create Depreciation',
'depreciation_name' => 'Depreciation Name',
'number_of_months' => 'Number of Months',
'update_depreciation' => 'Update Depreciation',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'Depreciation class does not exist.',
'assoc_users' => 'This depreciation is currently associated with one or more models and cannot be deleted. Please delete the models, and then try deleting again. ',
'create' => array(
'error' => 'Depreciation class was not created, please try again. :(',
'success' => 'Depreciation class created successfully. :)'
),
'update' => array(
'error' => 'Depreciation class was not updated, please try again',
'success' => 'Depreciation class updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this depreciation class?',
'error' => 'There was an issue deleting the depreciation class. Please try again.',
'success' => 'The depreciation class was deleted successfully.'
)
);
+10
View File
@@ -0,0 +1,10 @@
<?php
return array(
'id' => 'ID',
'months' => 'Months',
'term' => 'Term',
'title' => 'Name ',
);
+22
View File
@@ -0,0 +1,22 @@
<?php
return array(
'group_exists' => 'Group already exists!',
'group_not_found' => 'Group [:id] does not exist.',
'group_name_required' => 'The name field is required',
'success' => array(
'create' => 'Group was successfully created.',
'update' => 'Group was successfully updated.',
'delete' => 'Group was successfully deleted.',
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this group?',
'create' => 'There was an issue creating the group. Please try again.',
'update' => 'There was an issue updating the group. Please try again.',
'delete' => 'There was an issue deleting the group. Please try again.',
),
);
+9
View File
@@ -0,0 +1,9 @@
<?php
return array(
'id' => 'Id',
'name' => 'Name',
'users' => '# of Users',
);
+13
View File
@@ -0,0 +1,13 @@
<?php
return array(
'group_management' => 'Group Management',
'create_group' => 'Create New Group',
'edit_group' => 'Edit Group',
'group_name' => 'Group Name',
'group_admin' => 'Group Admin',
'allow' => 'Allow',
'deny' => 'Deny',
);
+34
View File
@@ -0,0 +1,34 @@
<?php
return array(
'checkedout_to' => 'Checked Out To',
'checkout_to' => 'Checkout to',
'cost' => 'Purchase Cost',
'create' => 'Create Asset',
'date' => 'Purchase Date',
'depreciates_on' => 'Depreciates On',
'depreciation' => 'Depreciation',
'default_location' => 'Default Location',
'eol_date' => 'EOL Date',
'eol_rate' => 'EOL Rate',
'expires' => 'Expires',
'fully_depreciated' => 'Fully Depreciated',
'help_checkout' => 'If you wish to assign this asset immediately, you should select "Ready to Deploy" from the status list above, or unexpected things may happen. ',
'manufacturer' => 'Manufacturer',
'model' => 'Model',
'months' => 'months',
'name' => 'Asset Name',
'notes' => 'Notes',
'order' => 'Order Number',
'qr' => 'QR Code',
'requestable' => 'Users may request this asset',
'serial' => 'Serial',
'status' => 'Status',
'supplier' => 'Supplier',
'tag' => 'Asset Tag',
'update' => 'Asset Update',
'warranty' => 'Warranty',
'years' => 'years',
)
;
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'asset' => 'Asset',
'checkin' => 'Checkin Asset',
'checkout' => 'Checkout Asset to User',
'clone' => 'Clone Asset',
'edit' => 'Edit Asset',
'pending' => 'Pending Asset',
'view' => 'View Asset',
);
+38
View File
@@ -0,0 +1,38 @@
<?php
return array(
'undeployable' => '<strong>Warning: </strong> This asset has been marked as currently undeployable.
If this status has changed, please update the asset status.',
'does_not_exist' => 'Asset does not exist.',
'assoc_users' => 'This asset is currently checked out to a user and cannot be deleted. Please check the asset in first, and then try deleting again. ',
'create' => array(
'error' => 'Asset was not created, please try again. :(',
'success' => 'Asset created successfully. :)'
),
'update' => array(
'error' => 'Asset was not updated, please try again',
'success' => 'Asset updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this asset?',
'error' => 'There was an issue deleting the asset. Please try again.',
'success' => 'The asset was deleted successfully.'
),
'checkout' => array(
'error' => 'Asset was not checked out, please try again',
'success' => 'Asset checked out successfully.',
'user_does_not_exist' => 'That user is invalid. Please try again.'
),
'checkin' => array(
'error' => 'Asset was not checked in, please try again',
'success' => 'Asset checked in successfully.',
'user_does_not_exist' => 'That user is invalid. Please try again.'
)
);
+22
View File
@@ -0,0 +1,22 @@
<?php
return array(
'asset_tag' => 'Asset Tag',
'asset_model' => 'Model',
'book_value' => 'Value',
'change' => 'In/Out',
'checkout_date' => 'Checkout Date',
'checkoutto' => 'Checked Out',
'diff' => 'Diff',
'dl_csv' => 'Download CSV',
'eol' => 'EOL',
'id' => 'ID',
'location' => 'Location',
'purchase_cost' => 'Cost',
'purchase_date' => 'Purchased',
'serial' => 'Serial',
'status' => 'Status',
'title' => 'Asset ',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'asset' => 'Asset',
'checkin' => 'Checkin',
'checkin' => 'Checkin',
'cost' => 'Purchase Cost',
'cost' => 'Purchase Cost',
'create' => 'Create License',
'date' => 'Purchase Date',
'date' => 'Purchase Date',
'depreciation' => 'Depreciation',
'name' => 'Software Name',
'no_depreciation' => 'Do Not Depreciate',
'notes' => 'Notes',
'order' => 'Order No.',
'seats' => 'Seats',
'serial' => 'Serial',
'to_email' => 'Licensed to Email',
'to_name' => 'Licensed to Name',
'update' => 'Update License',
'checkout_help' => 'You must check a license out to a hardware asset or a person. You can select both, but the owner of the asset must match the person you\'re checking the asset out to.'
);
+19
View File
@@ -0,0 +1,19 @@
<?php
return array(
'checkin' => 'Checkin License Seat',
'checkout_history' => 'Checkout History',
'checkout' => 'Checkout License Seat',
'edit' => 'Edit License',
'clone' => 'Clone License',
'history_for' => 'History for ',
'in_out' => 'In/Out',
'info' => 'License Info',
'license_seats' => 'License Seats',
'seat' => 'Seat',
'seats' => 'Seats',
'software_licenses' => 'Software Licenses',
'user' => 'User',
'view' => 'View License',
);
+38
View File
@@ -0,0 +1,38 @@
<?php
return array(
'does_not_exist' => 'License does not exist.',
'user_does_not_exist' => 'User does not exist.',
'asset_does_not_exist' => 'The asset you are trying to associate with this license does not exist.',
'owner_doesnt_match_asset' => 'The asset you are trying to associate with this license is owned by somene other than the person selected in the assigned to dropdown.',
'assoc_users' => 'This license is currently checked out to a user and cannot be deleted. Please check the license in first, and then try deleting again. ',
'create' => array(
'error' => 'License was not created, please try again.',
'success' => 'License created successfully.'
),
'update' => array(
'error' => 'License was not updated, please try again',
'success' => 'License updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this license?',
'error' => 'There was an issue deleting the license. Please try again.',
'success' => 'The license was deleted successfully.'
),
'checkout' => array(
'error' => 'There was an issue checking out the license. Please try again.',
'success' => 'The license was checked out successfully'
),
'checkin' => array(
'error' => 'There was an issue checking in the license. Please try again.',
'success' => 'The license was checked in successfully'
),
);
+17
View File
@@ -0,0 +1,17 @@
<?php
return array(
'assigned_to' => 'Assigned To',
'checkout' => 'In/Out',
'id' => 'ID',
'license_email' => 'License Email',
'license_name' => 'Licensed To',
'purchase_date' => 'Purchase Date',
'purchased' => 'Purchased',
'seats' => 'Seats',
'hardware' => 'Hardware',
'serial' => 'Serial',
'title' => 'License',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'Location does not exist.',
'assoc_users' => 'This location is currently associated with at least one user and cannot be deleted. Please update your users to no longer reference this location and try again. ',
'create' => array(
'error' => 'Location was not created, please try again.',
'success' => 'Location created successfully.'
),
'update' => array(
'error' => 'Location was not updated, please try again',
'success' => 'Location updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this location?',
'error' => 'There was an issue deleting the location. Please try again.',
'success' => 'The location was deleted successfully.'
)
);
+15
View File
@@ -0,0 +1,15 @@
<?php
return array(
'id' => 'ID',
'city' => 'City',
'state' => 'State',
'country' => 'Country',
'create' => 'Create Location',
'update' => 'Update Location',
'name' => 'Location Name',
'address' => 'Address',
'zip' => 'Postal Code',
'locations' => 'Locations',
);
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
'does_not_exist' => 'Manufacturer does not exist.',
'assoc_users' => 'This manufacturer is currently associated with at least one model and cannot be deleted. Please update your models to no longer reference this manufacturer and try again. ',
'create' => array(
'error' => 'Manufacturer was not created, please try again.',
'success' => 'Manufacturer created successfully.'
),
'update' => array(
'error' => 'Manufacturer was not updated, please try again',
'success' => 'Manufacturer updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this manufacturer?',
'error' => 'There was an issue deleting the blog post. Please try again.',
'success' => 'The Manufacturer was deleted successfully.'
)
);
+11
View File
@@ -0,0 +1,11 @@
<?php
return array(
'asset_manufacturers' => 'Asset Manufacturers',
'create' => 'Create Manufacturer',
'id' => 'ID',
'name' => 'Manufacturer Name',
'update' => 'Update Manufacturer',
);
+25
View File
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'Model does not exist.',
'assoc_users' => 'This model is currently associated with one or more assets and cannot be deleted. Please delete the assets, and then try deleting again. ',
'create' => array(
'error' => 'Model was not created, please try again.',
'success' => 'Model created successfully.'
),
'update' => array(
'error' => 'Model was not updated, please try again',
'success' => 'Model updated successfully.'
),
'delete' => array(
'confirm' => 'Are you sure you wish to delete this asset model?',
'error' => 'There was an issue deleting the model. Please try again.',
'success' => 'The model was deleted successfully.'
)
);
+17
View File
@@ -0,0 +1,17 @@
<?php
return array(
'create' => 'Create Asset Model',
'created_at' => 'Created at',
'eol' => 'EOL',
'modelnumber' => 'Model No.',
'name' => 'Asset Model Name',
'numassets' => 'Assets',
'title' => 'Asset Models',
'update' => 'Update Asset Model',
'view' => 'View Asset Model',
'update' => 'Update Asset Model',
'clone' => 'Clone Model',
'edit' => 'Edit Model',
);
+18
View File
@@ -0,0 +1,18 @@
<?php
return array(
'display_asset_name' => 'Display Asset Name',
'display_checkout_date' => 'Display Checkout Date',
'display_qr' => 'Display QR Codes',
'info' => 'These settings let you customize certain aspects of your installation.',
'per_page' => 'Results Per Page',
'php_gd_info' => 'You must install php-gd to display QR codes, see <a href="http://www.php.net/manual/en/image.installation.php">install instructions</a>.',
'php_gd_warning' => 'PHP Image Processing and GD plugin is NOT installed.',
'qr_help' => 'Enable QR Codes first to set this',
'qr_text' => 'QR Code Text',
'setting' => 'Setting',
'settings' => 'Settings',
'site_name' => 'Site Name',
'update' => 'Update Settings',
'value' => 'Value',
);

Some files were not shown because too many files have changed in this diff Show More