@extends('client.layouts.app') @if(isset($open_buy_bill) && !empty($open_buy_bill)) @section('title', ' فاتورة مشتريات '.$open_buy_bill->buy_bill_number ) @else @section('title', ' فاتورة مشتريات '.$pre_bill ) @endif @section('content')
@csrf @if(isset($open_buy_bill) && !empty($open_buy_bill)) @else @endif
اسم المورد
تاريخ الفاتورة
وقت الفاتورة
اختر المخزن
buy_bill_number)) style="display: none !important;" @endif>
buy_bill_number)) value="{{$open_buy_bill->supplier->supplier_category}}" @endif readonly id="category"/>
buy_bill_number)) value="@if($open_buy_bill->supplier->balance>0)لة @else علية @endif{{abs($open_buy_bill->supplier->balance)}}" @endif class="form-control" readonly id="balance_before"/>
buy_bill_number)) value="{{$open_buy_bill->supplier->supplier_national}}" @endif readonly id="supplier_national"/>

كود المنتج او الاسم
السعر
الكمية
الاجمالى
م

@if ($open_buy_bill) @foreach ($open_buy_bill->elements as $element)

المنتج

{{$element->product->product_name}}
{{$element->store->store_name}}

الكمية

الوحدة

{{$element->unit->unit_name}}

السعر

الإجمالي

@endforeach @endif

@if (isset($open_buy_bill) && !empty($open_buy_bill)) @else @endif @if(isset($open_buy_bill) && !empty($open_buy_bill) && $open_buy_bill->status == 'done') @else
@csrf @if (isset($open_buy_bill) && !empty($open_buy_bill)) @else @endif
@endif
@csrf

طريقة الدفع

{{-- bank pay --}}
@endsection @section('script') @endsection @section('style') @endsection