From 607ab3988a88f267c2bea175c3b6e730d22699fd Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 13 Apr 2023 11:06:07 -0700 Subject: [PATCH] Added supplier to edit/creatre blade Signed-off-by: snipe --- resources/views/components/edit.blade.php | 1 + resources/views/consumables/edit.blade.php | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.php index 1567ec5a80..5279f03990 100644 --- a/resources/views/components/edit.blade.php +++ b/resources/views/components/edit.blade.php @@ -17,6 +17,7 @@ @include ('partials.forms.edit.serial', ['fieldname' => 'serial']) @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) +@include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) @include ('partials.forms.edit.order_number') @include ('partials.forms.edit.purchase_date') @include ('partials.forms.edit.purchase_cost') diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.php index 6217aab3f1..f32e74b196 100644 --- a/resources/views/consumables/edit.blade.php +++ b/resources/views/consumables/edit.blade.php @@ -11,6 +11,7 @@ @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) @include ('partials.forms.edit.name', ['translated_name' => trans('admin/consumables/table.title')]) @include ('partials.forms.edit.category-select', ['translated_name' => trans('general.category'), 'fieldname' => 'category_id', 'required' => 'true', 'category_type' => 'consumable']) +@include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) @include ('partials.forms.edit.model_number')