@extends("admin.layouts.sellermaster") @section('title',"View Order : $inv_cus->order_prefix.$order->order_id | ") @section('body') @component('seller.components.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('staticwords.ViewOrder') }} @endslot @slot('menu1') {{ __('staticwords.ViewOrder') }} @endslot @endcomponent
{{ date('d-m-Y | h:i A',strtotime($cancellog->updated_at)) }} • Item
@if(isset($cancellog->singleOrder->variant))
{{ $cancellog->singleOrder->variant->products->name }}({{ variantname($cancellog->singleOrder->variant->variant) }})
@else {{ $cancellog->singleOrder->simple_product->product_name }} @endif has been
canceled
@if($cancellog->method_choosen == 'orignal')
and Amount {{ $cancellog->amount }}
is refunded to its orignal source with TXN ID: {{ $cancellog->transaction_id }}.
@elseif($cancellog->method_choosen == 'bank')
@if($cancellog->is_refunded == 'completed')
and Amount {{ $cancellog->amount }}
is refunded to {{ $cancellog->user->name }}'s bank ac
@if(isset($cancellog->bank->acno))
XXXX{{ substr($cancellog->bank->acno, -4) }} @endif with TXN ID
{{ $cancellog->transaction_id }}
@if($cancellog->txn_fee !='')
(TXN FEE APPLIED) {{ $cancellog->txn_fee }} @endif.
@else
and Amount {{ $cancellog->amount }}
is pending to {{ $cancellog->user->name }}'s bank ac
XXXX{{ substr($cancellog->bank->acno, -4) }}
with TXN ID/REF NO {{ $cancellog->transaction_id }} @if($cancellog->txn_fee !='')
(TXN FEE
APPLIED) {{ $cancellog->txn_fee }} @endif.
@endif
@endif
{{ date('d-m-Y | h:i A',strtotime($rlogs->updated_at)) }} •
Item
@if(isset($rlogs->getorder->variant))
{{ $rlogs->getorder->variant->products->name }}({{ variantname($rlogs->getorder->variant) }})
@else {{ $rlogs->getorder->simple_product->product_name }} @endif has been
@if($rlogs->getorder->status
== 'return_request')
requested for return
@else
@if($rlogs->getorder->status == 'ret_ref')
Returned and refunded
@else
{{ ucfirst($rlogs->getorder->status) }}
@endif
@endif
@if($rlogs->method_choosen == 'orignal')
and Amount {{ $rlogs->amount }}
is {{ $rlogs->status }} to its orignal source with TXN ID: {{ $rlogs->txn_id }}.
@elseif($rlogs->method_choosen == 'bank')
@if($rlogs->status == 'refunded')
and Amount {{ $rlogs->amount }}
is {{ $rlogs->status }} to {{ $rlogs->user->name }}'s bank ac
@if(isset($rlogs->bank->acno))
XXXX{{ substr($rlogs->bank->acno, -4) }} @endif with TXN ID: {{ $rlogs->txn_id }}
@if($rlogs->txn_fee
!='')
(TXN FEE APPLIED) {{ $rlogs->txn_fee }}
@endif.
@else
and Amount {{ $rlogs->amount }}
is pending to {{ $rlogs->user->name }}'s bank ac @if(isset($rlogs->bank->acno))
XXXX{{ substr($rlogs->bank->acno, -4) }} @endif with TXN ID/REF NO:
{{ $rlogs->txn_id }}
@if($rlogs->txn_fee !='')
(TXN FEE APPLIED) {{ $rlogs->txn_fee }} @endif.
@endif
@endif
{{ __('staticwords.CustomerInformation') }} | {{ __('staticwords.ShippingAddress') }} | {{ __('staticwords.BillingAddress') }} |
---|---|---|
@php
$user = $order->user;
$address = $order->shippingaddress;
@endphp
{{$user->name}} {{ $user->email }} @if(isset($user->mobile)){{$user->mobile}} @endif{{$user->city ? $user->city->name.',' : ""}} {{$user->state ? $user->state->name.',' : ""}} {{$user->country ? $user->country->nicename : ""}} |
{{ $address->name }}, {{ $address->phone }} {{ strip_tags($address->address) }}, @php $user = $order->user; $c = App\Allcountry::where('id',$address->country_id)->first()->nicename; $s = App\Allstate::where('id',$address->state_id)->first()->name; $ci = App\Allcity::where('id',$address->city_id)->first() ? App\Allcity::where('id',$address->city_id)->first()->name : ''; @endphp{{ $ci }}, {{ $s }}, {{ $ci }} {{ $address->pin_code }} |
{{ $order->billing_address['firstname'] }}, {{ $order->billing_address['mobile'] }} {{ strip_tags($order->billing_address['address']) }}, @php $c = App\Allcountry::where('id',$order->billing_address['country_id'])->first()->nicename; $s = App\Allstate::where('id',$order->billing_address['state'])->first()->name; $ci = App\Allcity::where('id',$order->billing_address['city'])->first() ? App\Allcity::where('id',$order->billing_address['city'])->first()->name : ''; @endphp{{ $ci }}, {{ $s }}, {{ $ci }} @if(isset($order->billing_address['pincode'])) {{ $order->billing_address['pincode'] }} @endif |
{{ __('staticwords.Order Summary') }} | ||
---|---|---|
{{ __('staticwords.PaymentRecieved') }}: {{ $x->sum('qty') }} {{ __('staticwords.OrderTotal') }}: {{ sprintf("%.2f",$total) }} {{ __('staticwords.PaymentRecieved') }}: {{ ucfirst($order->payment_receive) }} |
{{ __('staticwords.PaymentMethod') }}: {{ ucfirst($order->payment_method) }} {{ __('staticwords.TranscationID') }}: {{ $order->transaction_id }} |
{{ __('staticwords.OrderDate') }}: {{ date('d/m/Y @ h:i a', strtotime($order->created_at)) }} |
{{ __('staticwords.Order Details') }} |
---|
{{ __('staticwords.Invoice No') }} | {{ __('staticwords.Item Name') }} | {{ __('staticwords.qty') }} | {{ __('staticwords.Status') }} | {{ __('staticwords.Pricing & Tax') }} | {{ __('staticwords.Total') }} | # |
---|---|---|---|---|---|---|
{{ $inv_cus->prefix }}{{ $invoice->inv_no }}{{ $inv_cus->postfix }} |
@if(isset($invoice->variant))
@php
$orivar = $invoice->variant;
@endphp
@if($invoice->variant->variantimages)
@if(isset($invoice->variant))
{{substr($orivar->products->name, 0, 25)}}{{strlen($orivar->products->name)>25 ? '...' : ""}}
({{ variantname($orivar) }})
@endif
@if($invoice->simple_product)
@php
$category = App\Category::with('simpleproducts')->where('id','=',$invoice->simple_product->category_id)->first();
$cat_slug = str_slug($category->title, '-', app()->getLocale());
$subcategory =App\Subcategory::with('simpleproducts')->where('id','=',$invoice->simple_product->subcategory_id)->first();
$subcat_slug = str_slug($subcategory->title, '-', app()->getLocale());
@endphp
{{ $invoice->simple_product->product_name }}
@endif
@if($invoice->variant) Sold By: {{$invoice->variant->products->store->name}} @endif @if($invoice->simple_product) Sold By: {{$invoice->simple_product->store->name}} @endif Price: {{ round(($invoice->price),2) }} Tax: {{ round(($invoice->tax_amount),2) }} @if($invoice->variant) @if($invoice->variant->products->tax_r !='') ({{ $invoice->variant->products->tax_r.'% '.$invoice->variant->products->tax_name }} ) @endif @endif |
{{ $invoice->qty }} | @if($invoice->status == 'delivered') {{ ucfirst($invoice->status) }} @elseif($invoice->status == 'processed') {{ ucfirst($invoice->status) }} @elseif($invoice->status == 'shipped') {{ ucfirst($invoice->status) }} @elseif($invoice->status == 'return_request') Return Request @elseif($invoice->status == 'returned') Returned @elseif($invoice->status == 'cancel_request') Cancelation Request @elseif($invoice->status == 'canceled') Canceled @elseif($invoice->status == 'refunded') Refunded @elseif($invoice->status == 'ret_ref') Returned & Refunded @else {{ ucfirst($invoice->status) }} @endif | {{ __('staticwords.TotalPrice') }}: {{ round(($invoice->price*$invoice->qty),2) }} {{ __('staticwords.TotalTax') }}: {{ round(($invoice->tax_amount * $invoice->qty),2) }} {{ __('staticwords.Shipping Charges') }}: {{ round($invoice->shipping,2) }} ({{ __('staticwords.Price & TAX Multiplied with Quantity') }}) |
{{ sprintf("%.2f",$invoice->qty*($invoice->price+$invoice->tax_amount)+$invoice->shipping,2) }}
({{ __('staticwords.IncOfTaxShip') }}) |
|
{{ __('staticwords.Subtotal') }} | {{ $total - $hc - $giftcharge }} | |||||
{{ __('staticwords.CouponDiscount') }} | - {{ round($order->discount,2) }} ({{ $order->coupon }}) | |||||
{{ __('staticwords.Gift Packaging Charge') }} | + {{ round($giftcharge,2) }} | |||||
{{ __('staticwords.HandlingCharge') }} | + {{ round($hc,2) }} | |||||
{{ __('staticwords.GrandTotal') }} | {{ round($total,2) }} |