-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into snipeit_v7_laravel10
- Loading branch information
Showing
92 changed files
with
1,190 additions
and
414 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,16 +14,17 @@ | |
use App\Models\Supplier; | ||
use App\Models\User; | ||
use App\View\Label as LabelView; | ||
use Illuminate\Support\Facades\DB; | ||
use Illuminate\Support\Facades\Storage; | ||
|
||
class LabelsController extends Controller | ||
{ | ||
/** | ||
* Returns the Label view with test data | ||
* | ||
* @author Grant Le Roux <[email protected]> | ||
* @param string $labelName | ||
* @param string $labelName | ||
* @return \Illuminate\Contracts\View\View | ||
* @author Grant Le Roux <[email protected]> | ||
*/ | ||
public function show(string $labelName) | ||
{ | ||
|
@@ -66,7 +67,7 @@ public function show(string $labelName) | |
$exampleAsset->model->category->id = 999999; | ||
$exampleAsset->model->category->name = trans('admin/labels/table.example_category'); | ||
|
||
$customFieldColumns = CustomField::all()->pluck('db_column'); | ||
$customFieldColumns = CustomField::where('field_encrypted', '=', 0)->pluck('db_column'); | ||
|
||
collect(explode(';', Setting::getSettings()->label2_fields)) | ||
->filter() | ||
|
Oops, something went wrong.