@extends('admin.layout.master') @section('title', 'SELL RETURN') @section('custom_style') @include('inventory.blade_styles.posting_blade_css') @endsection @section('content')

{{__('obs.sell')}} {{__('obs.return')}}

@if (@$invoice)

{{__('obs.inv')}} {{__('obs.no')}}: {{ $invoice->invoice_no }} {{ $invoice->installedInv ? ' ('.$invoice->installedInv->invoice_no.')' : '' }}

@else

Inv-1231

{{-- --}}
@endif
@if (@$invoice) @method('PUT') @endif @csrf @if ($setting->dual_currency == 1)
@endif
@if (!@$invoice) @endif
@if (warehouse_info()->cheque_maintain == 1) @else @endif
@include('inventory.global.invoice_group_dd', ['type'=> 3])
@include('inventory.global.driver_form')
@if (!@$invoice)

@endif
{{-- end --}}
status == 1 ? "" : "checked")}}>
@if (@$invoice && checkAuthPermission('sell.delete-return'))
@endif
@if (count($vat_tax)>0)
@endif

{{-- --}} @if (warehouse_info()->use_expiry == 1) @endif @if (@$invoice) @else @endif @if (count($vat_tax)>0) @endif @php $i = 0; $html = []; @endphp @if (@$invoice) @forelse ($invoice->transaction as $item) @php ++$i; $clr_sz_sl_flag = ($item->product->serialized_product == 1 || $item->product->color_id > 0 || $item->product->size_id > 0) ? true : false; if($clr_sz_sl_flag) $html[$i] = view('inventory.global.product_serial.edit')->with(['item'=> $item, 'index'=> $i, 'type'=> 1]); @endphp @include('inventory.global.dual_unit') @if (warehouse_info()->use_expiry == 1) @if ($item->product->expiarable_product == 1) @else @endif @endif @if (count($vat_tax)>0) @include('inventory.global.vats_product_wise') @endif @empty @endforelse @php $i = $i+1; @endphp @else @for ($i = 1; $i <= 5; $i++) @include('inventory.global.dual_unit') @if (warehouse_info()->use_expiry == 1) @endif @if (count($vat_tax)>0) @include('inventory.global.vats_product_wise') @endif @endfor @endif
# {{__('obs.products')}} {{__('obs.unit')}} {{__('obs.desc')}}{{__('obs.img')}}{{__('obs.expiry')}} {{__('obs.date')}}{{__('obs.qty')}}
{{__('obs.qty')}}
{{__('obs.price')}} {{__('obs.disc')}}(%) {{__('obs.manual')}} {{__('obs.dc')}} {{__('obs.net')}} {{__('obs.price')}}{{__('obs.vat')}}
{{ implode(' - ', $vat_tax->pluck('name')->toArray()) }}
{{__('obs.total')}}{{__('obs.action')}}
{{ $i }}
@if ($clr_sz_sl_flag) @endif
@if ($setting->party_wise_price == 1) @else @endif customer->commission_type == 1 ? 'readonly' : ''}} step=".01" max="100" id="n_discount{{ $i }}" onkeyup="calculateTotal({{ $i }})" class="form-control"> customer->commission_type == 1 ? 'readonly' : ''}} step=".01" id="n_m_dc{{ $i }}" onchange="productMDc(this.value, {{ $i }})" class="form-control">
{{ $i }} @include('inventory.global.consume.pro_free_gift_modal')

@include('inventory.global.inv_foot')
@forelse ($html as $h) {!! $h !!} @empty @endforelse
@include('inventory.modal.expense')
@include('inventory.global.img_show') @endsection @section('script') @endsection