@extends ('core.layouts.app') @section ('title', trans('labels.backend.products.management') . ' | ' . trans('labels.backend.products.create')) @section('page-header')

{{ trans('labels.backend.products.management') }} {{ trans('labels.backend.products.create') }}

@endsection @section('content')

{{trans('products.general_product_details')}} {{trans('buttons.general.crud.edit')}}

{{trans('products.name')}}
@if(!$product->stock_type) ({{trans('products.service')}}) : @endif {{$product['name']}}
Product Image
{{trans('products.taxrate')}}
{{numberFormat($product['taxrate'])}}
{{trans('products.product_des')}}
{!!$product['product_des'] !!}
{{trans('products.productcategory_id')}}
{{$product->category->title}} - ({{@$product->subcategory->title}})
{{trans('products.unit')}}
{{$product['unit']}}

{{trans('products.standard_details')}}

{{trans('products.warehouse_id')}}
{{trans('products.price')}}
{{amountFormat($product->standard['price'])}}
{{trans('products.disrate')}}
{{numberFormat($product->standard['disrate'])}} %
{{trans('products.purchase_price')}}
{{amountFormat($product->standard['purchase_price'])}}
{{trans('products.qty')}}
{{numberFormat($product->standard['qty'])}}
{{trans('products.alert')}}
{{numberFormat($product->standard['alert'])}}
{{trans('products.code')}}
{{$product->standard['code']}}
{{trans('products.barcode')}}
{{$product->standard['barcode']}} ({{$product['code_type']}})
@if(strtotime($product->standard['expiry']))
{{trans('products.expiry')}}
{{dateFormat($product->standard['expiry'])}}
@endif @if(isset($product->variations[0]))

{{trans('products.variation')}}

@foreach($product->variations as $row)
{{trans('products.variations')}}
{{$row->name}}
Product Image
{{trans('products.warehouse_id')}}
{{trans('products.price')}}
{{amountFormat($row->price)}}
{{trans('products.disrate')}}
{{numberFormat($row->disrate)}} %
{{trans('products.purchase_price')}}
{{amountFormat($row->purchase_price)}}
{{trans('products.qty')}}
{{numberFormat($row->qty)}}
{{trans('products.alert')}}
{{numberFormat($row->alert)}}
{{trans('products.code')}}
{{$row->code}}
{{trans('products.barcode')}}
{{$row->barcode}} ({{$product['code_type']}})
@if(strtotime($row->expiry))
{{trans('products.expiry')}}
{{dateFormat($row->expiry)}}
@endif @endforeach @endif {!! custom_fields_view(3,$product['id']) !!}
@endsection