@extends('_version_02.commons.layouts.admin') @section('content') @include('_version_02.commons.layouts.partials._alert') @include('_version_02.opencarts.products.partials.save_by_url') @include('_version_02.opencarts.products.partials.search_bar')
@if(count($model) > 0)| # | {{App\Language::trans('Image')}} | @elseif($col == 'product_url' || $col == 'status') @else{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}} | @endif @php $priority_counter ++ ; @endphp @endforeach{{App\Language::trans('Action')}} | |||
|---|---|---|---|---|---|---|
{{$index+1}} |
{{App\Language::trans($row->model)}} | @foreach($cols as $col) @if($col == 'date_started' || $col == 'date_started'){{$row[$col]}} | @elseif($col == 'cost' || $col == 'price' || $col == 'selling_price'){!! Form::number($col, null, ['id'=>$col.'_'.$row->id, 'rows'=>'10' , 'cols'=>'80','class'=>'form-control width-100','placeholder'=>$row->setDouble($row[$col])]) !!} | @elseif($col != 'id' && $col != 'model' && $col != 'product_url' && $col != 'status'){{$row[$col]}} | @endif @endforeach{{App\Language::trans('Edit')}} | {{App\Language::trans('Update')}} @if($page_key != 'is_verified') | {{App\Language::trans('Verified')}} @endif @if($page_key != 'is_removed') | {{App\Language::trans('Removed')}} @endif |