@extends("front/layout.master") @section('meta_tags')
{{ __('staticwords.SoldBy') }}: {{$o->variant->products->store->name}}
@endif @if(isset($o->simple_product)) @php $category = App\Category::with('simpleproducts')->where('id','=',$o->simple_product->category_id)->first(); $cat_slug = str_slug($category->title, '-', app()->getLocale()); $subcategory =App\Subcategory::with('simpleproducts')->where('id','=',$o->simple_product->subcategory_id)->first(); $subcat_slug = str_slug($subcategory->title, '-', app()->getLocale()); @endphp{{ __('staticwords.SoldBy') }}: {{$o->simple_product->store->name}}
@endif @if($o->status == 'delivered') {{ ucfirst($o->status) }} @elseif($o->status == 'processed') {{ ucfirst($o->status) }} @elseif($o->status == 'shipped') {{ ucfirst($o->status) }} @if($o->courier_channel != '' && $o->tracking_link != '' && $o->exp_delivery_date != ''){{__('Expected delivery by '. date("d-M-Y",strtotime($o->exp_delivery_date)) )}}.
@endif @elseif($o->status == 'return_request') {{ __('Return Request') }} @elseif($o->status == 'returned') {{ __('Returned') }} @elseif($o->status == 'refunded') {{ __('Refunded') }} @elseif($o->status == 'cancel_request') {{ __('Cancelation Request') }} @elseif($o->status == 'canceled') {{ __('Canceled') }} @elseif($o->status == 'Refund Pending') {{ __('Refund in progress') }} @elseif($o->status == 'ret_ref') {{ __('Returned & Refunded') }} @else {{ ucfirst($o->status) }} @endif{{ __('staticwords.SoldBy') }}: {{$o->variant->products->store->name}}
@endif @if(isset($o->simple_product)) @php $category = App\Category::with('simpleproducts')->where('id','=',$o->simple_product->category_id)->first(); $cat_slug = str_slug($category->title, '-', app()->getLocale()); $subcategory =App\Subcategory::with('simpleproducts')->where('id','=',$o->simple_product->subcategory_id)->first(); $subcat_slug = str_slug($subcategory->title, '-', app()->getLocale()); @endphp{{ __('staticwords.SoldBy') }}: {{$o->simple_product->store->name}}
@endif @if($o->status == 'delivered') {{ ucfirst($o->status) }} @elseif($o->status == 'processed') {{ ucfirst($o->status) }} @elseif($o->status == 'shipped') {{ ucfirst($o->status) }} @if($o->courier_channel != '' && $o->tracking_link != '' && $o->exp_delivery_date != ''){{__('Expected delivery by '. date("d-M-Y",strtotime($o->exp_delivery_date)) )}}.
@endif @elseif($o->status == 'return_request') Return Request @elseif($o->status == 'returned') Returned @elseif($o->status == 'refunded') Refunded @elseif($o->status == 'cancel_request') Cancelation Request @elseif($o->status == 'canceled') Canceled @elseif($o->status == 'Refund Pending') Refund in progress @elseif($o->status == 'ret_ref') Returned & Refunded @else {{ ucfirst($o->status) }} @endif