@extends('backend.layout.main') @if(in_array('ecommerce',explode(',',$general_setting->modules)) || in_array('restaurant',explode(',',$general_setting->modules))) @push('css') @endpush @endif @section('content')

{{__('db.add_product')}}

{{__('db.The field labels marked with * are required input fields')}}.

{{__('db.product')}} {{__('db.Wastage Percent')}} {{__('db.Quantity')}} {{__('db.Unit Cost')}} {{__('db.Unit Price')}} {{__('db.Sub total')}}
{{--
--}}
Cost must be higher than 0!
Price must be higher than Cost to make Profit!
@foreach($custom_fields as $field) @if(!$field->is_admin || \Auth::user()->role_id == 1)
@if($field->type == 'text') is_required){{'required'}}@endif> @elseif($field->type == 'number') is_required){{'required'}}@endif> @elseif($field->type == 'textarea') @elseif($field->type == 'checkbox')
@foreach($option_values as $value)   @endforeach @elseif($field->type == 'radio_button')
@foreach($option_values as $value)   @endforeach @elseif($field->type == 'select') @elseif($field->type == 'multi_select') @elseif($field->type == 'date_picker') is_required){{'required'}}@endif> @endif
@endif @endforeach
 

{{__('db.Check this if this product will be used in weight scale machine')}}

 

{{__('db.This feature will not work for product with variants and batches')}}

@foreach($lims_warehouse_list as $warehouse) @endforeach
{{__('db.Warehouse')}} {{__('db.qty')}}
{{$warehouse->name}}
  {{__('db.This product has variant')}}
{{__('db.name')}} {{__('db.Item Code')}} {{__('db.Additional Cost')}} {{__('db.Additional Price')}}
  {{__('db.This product has different price for different warehouse')}}
@foreach($lims_warehouse_list as $warehouse) @endforeach
{{__('db.Warehouse')}} {{__('db.Price')}}
{{$warehouse->name}}
  {{__('db.This product has batch and expired date')}}
  {{__('db.This product has IMEI or Serial numbers')}}
  {{__('db.Add Promotional Price')}}
@if (\Schema::hasColumn('products', 'woocommerce_product_id'))
  {{__('db.Disable Woocommerce Sync')}}
@endif @if(in_array('ecommerce',explode(',',$general_setting->modules)) || in_array('restaurant',explode(',',$general_setting->modules)))
  {{__('db.Sell Online')}}
@endif @if(in_array('restaurant',explode(',',$general_setting->modules)))
  {{__('db.This is topping')}}
@endif @if(in_array('ecommerce',explode(',',$general_setting->modules)))
  {{__('db.In Stock')}}
@endif
@if(in_array('ecommerce',explode(',',$general_setting->modules)) || in_array('restaurant',explode(',',$general_setting->modules)))

For SEO

@endif @if(in_array('restaurant',explode(',',$general_setting->modules)))

Selected Extras

@endif
@include('backend.unit.add_unit_modal')
@endsection @push('scripts')