This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Usage: | |
// Before | |
@if ($errors->has('email')) | |
<span>{{ $errors->first('email') }}</span> | |
@endif | |
// After: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This service provider handles a few custom validation rules. | |
* | |
* PHP version 5.5.9 | |
* @package Snipe-IT | |
* @version v3.0 | |
*/ | |
namespace App\Providers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Requirements: | |
* - jQuery (http://jquery.com/) | |
* - DataTables (http://datatables.net/) | |
* - BootboxJS (http://bootboxjs.com/) | |
* --------------------------------------------------------------------------- | |
* Credits to https://gist.github.com/flackend/9517696 | |
* --------------------------------------------------------------------------- | |
* This monitors all AJAX calls that have an error response. If a user's | |
* session has expired, then the system will return a 401 status, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |