@if(count($history)) @foreach($history as $histk=>$det) @php($tp_class = ($det->shipmentDetails->shipment_type==1)?'badge-primary':'badge-info') @php($tp_name = ($det->shipmentDetails->shipment_type==1)?'Book This':'Get Quote') @if($det->status==1) @php($tn_type = '('.$det->transaction->type.')') @else @php($tn_type ='') @endif @php($markupCharge = ($det->shipmentDetails->shipment_type==1)?$det->shipmentDetails->shipmentPayment->markup_calculation:$det->shipmentDetails->shipmentPayment->bidding_markup_calculation) @php($st_class = ($det->status==1)?'badge-success':'badge-primary') @php($st_name = ($det->status==1)?'Done':'Pending') @php($pType = ($det->type=="1")?'Shipping Charge':(($det->type=="3")?'Refund':'Membership Charge')) @if($det->status==1) @else @endif @endforeach @else @endif
Shipment Id Shipment Type Pickup Address Destination Address Purpose Amount($) Payment Status Payment Type Txn Id Created At
{{$det->shipmentDetails->master_code}}{{$tp_name}} {{$det->shipmentDetails->pickup_address}} {{$det->shipmentDetails->destination_address}} Markup Charge + Insurance Charge{{$markupCharge + $det->shipmentDetails->shipmentPayment->shipping_insurance_cost}} {{$tn_type}} {{$st_name}} {{$pType}}{{isset($det->transaction->TransactionCardDetails->txn_id)?$det->transaction->TransactionCardDetails->txn_id:'N/A'}}{{\App\Helpers\Helper::dateTimeConvert($det->created_at)}}
Order history not found
{!! $history->render() !!}