@extends('user.layout.master') @section('body')
@csrf

পন্য বিক্রয়

@if($errors->has('ponno_setup_id')) {{ $errors->first('ponno_setup_id') }} @endif
@if($errors->has('ponno_type_setup_id')) {{ $errors->first('ponno_type_setup_id') }} @endif
@if($errors->has('purchase_id')) {{ $errors->first('purchase_id') }} @endif
@if($errors->has('stock_id')) {{ $errors->first('stock_id') }} @endif
@if($errors->has('sales_qty')) {{ $errors->first('sales_qty') }} @endif
@if($errors->has('sales_weight')) {{ $errors->first('sales_weight') }} @endif
@if($errors->has('sales_rate')) {{ $errors->first('sales_rate') }} @endif
@if($errors->has('labour')) {{ $errors->first('labour') }} @endif
@if($errors->has('other')) {{ $errors->first('other') }} @endif

@csrf @if($errors->has('sales_type')) {{ $errors->first('sales_type') }} @endif
@if($errors->has('cash_kreta_address')) {{ $errors->first('cash_kreta_address') }} @endif
@if($errors->has('cash_kreta_name')) {{ $errors->first('cash_kreta_name') }} @endif
@if($errors->has('cash_kreta_mobile')) {{ $errors->first('cash_kreta_mobile') }} @endif
@if($errors->has('area')) {{ $errors->first('area') }} @endif
@if($errors->has('address')) {{ $errors->first('address') }} @endif
@if($errors->has('kreta_setup_id')) {{ $errors->first('kreta_setup_id') }} @endif
@if($errors->has('discount')) {{ $errors->first('discount') }} @endif
@if($errors->has('marfot_id')) {{ $errors->first('marfot_id') }} @endif
@if($errors->has('entry_date')) {{ $errors->first('entry_date') }} @endif
@if($errors->has('description')) {{ $errors->first('description') }} @endif

এড কার্ট

@php $total = 0; $total_qty = 0; $total_weight = 0; @endphp @if(count($data) > 0) @foreach($data as $index => $v) {{----}} @endforeach @endif
নং এরিয়া ঠিকানা মহাজনের নাম পন্যের নাম পন্যের ধরন মার্কা গ্রহণ সংখ্যা বিক্রয় সংখ্যা ওজন মোট টাকা একশন
{{ $index + 1 }} {{ $v->ponno_purchase_entry->mohajon_setup->area ?? '-' }} {{ $v->ponno_purchase_entry->mohajon_setup->address ?? '-' }} {{ $v->ponno_purchase_entry->mohajon_setup->name ?? '-' }} {{ $v->ponno_purchase_entry->ponno_setup->ponno_name ?? '-' }} {{ $v->ponno_purchase_entry->ponno_type_setup?->ponno_type ?? '-' }}{{ $v->ponno_purchase_entry->ponno_size_setup?->ponno_size ?? '-' }}{{ $v->ponno_purchase_entry->ponno_marka_setup->ponno_marka ?? '-' }} {{ $v->ponno_purchase_entry->quantity ?? 0 }} {{ $v->sales_qty ?? 0 }} {{ $v->sales_weight ?? 0 }} @php $rowTotal = ($v->sales_weight * $v->sales_rate) + $v->labour + $v->other + $v->kreta_commission; $total_qty += $v->sales_qty; $total_weight += $v->sales_weight; $total += $rowTotal; @endphp {{ number_format($rowTotal, 2) }}
@csrf @method('DELETE')
মোট: {{ number_format($total_qty) }} {{ number_format($total_weight, 2) }} {{ number_format($total, 2) }}
.
@endsection