@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')
Note: {{ __('common.order_note') }}
--}}{{ __('common.order_number') }} : {{ $form->order_number }}
{{ __('common.trans_id') }} : {{ $form->transaction_id }}
{{ __('common.reselling') }} : {{ $form->reselling }}
{{ __('common.payment_methot') }} : {{ $form->payment_method }}
{{ __('common.delivery_type') }} : {{ $shipmentdata['service_type'] ?? '' }}
@if ($form->coupon_code){{ __('common.coupon_code') }} : {{ $form->coupon_code }}
@endif{{ __('Wallet Amount') }} : @if($form->payment_method == 'Online') @if($form->payment_status == 'Paid') {{'₹'. round($form->wallet_amount) }}
@else ₹0 @endif @else {{'₹'. round($form->wallet_amount) }} @endif {{-- {{'₹'. round($form->wallet_amount) }} --}} @if($form->payment_method == 'Online' && $bankenabled == 'true'){{ __('Bank Offer Discount') }} : {{'₹'. count($orderitem)*$bankamount }}
@endif{{ __('Net Amount') }} : {{'₹'. $form->original_price }}
{{ __('Discount Price') }} : {{'₹'. round($form->discount_price) }}
{{ __('Delivery Charges') }} : @if($form->delivery_charges == 0) Free @else {{'₹'. $form->delivery_charges}} @endif
{{ __('Pending Amount') }} : {{'₹'. round($form->total_price - $form->wallet_amount) }}
{{ __('Grand Total') }} : {{'₹'.$form->total_price }}
@if( $form->status == 'Cancelled' && $form->payment_status == 'Paid'){{ __('Amount To Pay Back') }} : {{'₹'. $form->total_price }}
@endif{{ __('common.seller_name') }} : {{ $form?->getVendor?->business_name }}
{{ __('common.phone') }} : @if ($form?->getVendor?->country_code == 'US') {{ app\Helpers\Helper::formattingUS('+1' . $form?->getVendor?->business_mobile) ?? $form?->getVendor->business_mobile }}
@elseif($form?->getVendor?->country_code == 'BR') {{ app\Helpers\Helper::formattingBR('+55' . $form->getVendor->business_mobile) ?? $form->getVendor->business_mobile }} @else {{ $form?->getVendor?->business_mobile }} @endif{{ __('common.pincode') }} : {{ $form?->getVendor?->pin }}
{{ __('common.cityError') }} : {{ $form?->getVendor?->city }}
{{ __('common.location_state') }} : {{ $form?->getVendor?->state }}
{{ __('common.address') }} {{ $form?->getVendor?->address }}
@if ($form?->getVendor?->company_document){{ __('common.company_document') }} {{ $form?->getVendor?->company_document }}
@endif{{ __('common.user_name') }} {{ $form->User->name }}
{{ __('common.phone') }} @if (!empty($address) && $address['country_code'] == 'US') {{ app\Helpers\Helper::formattingUS('+1' . $form->User->phone) ?? $form->User->phone }}
@elseif(!empty($address) && $address['country_code'] == 'BR') {{ app\Helpers\Helper::formattingBR('+55' . $form->User->phone) ?? $form?->User?->phone }} @else {{ $form->User->phone }} @endif{{ __('common.customer_name') }} {{ $address['name'] ?? ""}}
{{ __('common.mobile') }}: @if (!empty($address) && $address['country_code'] == 'US') {{ app\Helpers\Helper::formattingUS('+1' . $address['mobile']) ?? $address['mobile'] }}
@elseif(!empty($address) && $address['country_code'] == 'BR') {{ app\Helpers\Helper::formattingBR('+55' . $address['mobile']) ?? $address['mobile'] }} @else {{ $address['mobile'] ?? ""}} @endif{{ __('common.address_type') }} {{ $address['address_type'] ?? '' }}
{{ __('common.pincode') }}: {{ $address['pincode'] ?? '' }}
{{ __('common.landmark') }}: {{ $address['landmark'] ?? '' }}
{{ __('common.address') }} {{ $address['address'] ?? '' }}
@if (isset($address['document'])){{ __('common.document') }} {{ $address['document'] }}
@endif