@extends('layouts.app') @section('title') {{ config('app.name', 'Laravel') }} | {{ __('common.users') }} @endsection @section('heading') {{ __('common.category') }} @endsection @section('heading-icon')admin_panel_settings@endsection @section('content')

@if(optional($form)->id) {{ __('common.order_cancel') }} - {{ optional($form)->name }} @endif

reply_all  {{ __('common.go_back') }}
@csrf @if(optional($form)->id) @method('PUT') @else @method('POST') @endif

{{ __('common.order_info') }}

  • Customer id: {{$form->getUser->username}}
  • Order Number: {{$form->order_number}}
  • Transaction Id: {{$form->transaction_id}}
  • Seller Name: {{$form->getUser->name}}
  • Reselling: {{$form->reselling}}
  • Price: {{$form->original_price}}
  • Comm Price: {{$form->commission_total_price}}
  • Discount Price: {{$form->discount_price}}
  • Payment Method: {{$form->payment_method}}
  • Status: {{$form->status}}
  • Coupon: {{$form->coupon_code}}
@php $address = json_decode($form->address,true); @endphp

Shipping Address

Addtess Type: {{ $address["address_type"]??'' }}
Name: {{ $address["name"]??'' }}
Mobile: {{ $address["mobile"]??'' }}
Pincode: {{ $address["pincode"]??'' }}
Locality: {{ $address["locality"]??'' }}
Address: {{ $address["address"]??'' }}
@foreach ($orderitem as $list) @foreach ($list->ProductDetail as $data) @endforeach @endforeach
Order Id Product Name Qty Price Offer Price Status Action
{{$list->order_id }} {{$data->product_name }} {{$list->quantity }} {{$list->original_price }} {{$list->offer_price }} {{$list->status }} @if($list->status == 'Cancelled') @elseif($list->status == 'Delivered') @else Cancel @endif
@endsection @push('head.start') @endpush @push('body.end') @endpush