@extends('commons.layouts.admin') @section('content') @include('commons.layouts.partials._alert')
| # | @elseif(str_contains($col, '_id')){{App\Language::trans(ucwords(str_replace('_', ' ', str_replace('_id', '', $col))))}} | @else{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}} | @endif @endforeach{{App\Language::trans('Action')}} | ||||
|---|---|---|---|---|---|---|---|
| {{$index+1}} | @foreach($row->toArray() as $key => $value) @if($key == 'status') @if($value==true){{App\Language::trans('Active')}} | @else{{App\Language::trans('Inactive')}} | @endif @elseif($key == 'is_obsolete'){{$row->display_answer_string($key)}} | @elseif($key == 'cover_photo_path'){{$row->display_relationed($key, 'name')}} | @elseif($key != 'id'){{$value}} | @endif @endforeach{{App\Language::trans('Edit')}} | {{App\Language::trans('View')}} | {{-- {{App\Language::trans('Del')}} --}} |
{{App\Language::trans('Product Status')}}
{{App\Language::trans("Only the product with 'Active' status will be available on operation")}},
{{App\Language::trans('in order to make product available.')}}
{{App\Language::trans('Please ensure the following fields are completed :')}}
{{App\Language::trans('Product Code')}} ,
{{App\Language::trans('Sales Tax')}} ,
{{App\Language::trans('Purchase Tax')}} ,
{{App\Language::trans('UOM')}} ,
{{App\Language::trans('Payment Term')}}