@extends('layouts.backend') @section('mainContentArea')

Update / Preview Warehouse Sales Return Back

Return Details
Products Returned
@csrf
From POS

{{ $whSaleReturn->fromWarehouse->name }}

To Warehouse

{{ $whSaleReturn->toWarehouse->name }}

Reason

{{ $whSaleReturn->reason }}

@if($whSaleReturn->infactory == 1)
In Factory
@elseif($whSaleReturn->intransit == 1)
In Transit
@else
@csrf
@endif
@php $totalMrp = 0; $totalDisc = 0; $totalTax = 0; $totalG = 0; $totalQty = 0; @endphp @foreach($whSaleReturn->products as $product) @if($whSaleReturn->intransit == 1) @if($product->intransit == 1) @php $totalMrp+= $product->net_unit_cost; $totalDisc+= $product->discount; $totalTax+= number_format($product->discount,2,'.', ''); $totalG+= number_format($product->total,2,'.', ''); @endphp @else @endif @else @php $totalMrp+= $product->net_unit_cost; $totalDisc+= $product->discount; $totalTax+= number_format($product->discount,2,'.', ''); $totalG+= number_format($product->total,2,'.', ''); @endphp @endif @endforeach
Barcode Article Size Color HSN Code MRP Discount Tax Amt. Total @if($whSaleReturn->intransit == 1) Intransit @else Approve

Check all @endif
{{ $product->barcode }} {{ $product->article }} {{ $product->size }} {{ $product->color }} {{ $product->hsn }} {{ $product->productcode }} {{ number_format($product->net_unit_cost,2) }} {{ $product->discount }} {{ number_format($product->tax,2) }} {{ number_format($product->total,2) }} @if($product->intransit == 1) Intransit @else @endif
Total: {{ number_format($totalMrp,2,'.','') }} {{ $totalDisc }} {{ $totalTax }} {{ $totalG }}
@endsection @section('extraJs') @endsection