@extends('layouts.master') @section('css') @section('title') {{ __('report.Requestـoffersـfromـsuppliers') }}@stop @endsection @section('page-header')
@endsection @section('content') @if (count($errors) > 0)
خطا
@endif @if (session()->has('notfountreturnproduct')) @endif
{{ csrf_field() }}

{{ __('home.searchbysuppliertno') }}




@if (isset($Invoices))

@foreach ($Invoices as $invoice)
Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 156

Warning: Attempt to read property "user_id" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 156

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 157

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 157

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 159

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 159

{{-- {{ __('report.invoiceNo') }} : {{ $invoice->id }} --}}
{{-- {{ __('home.suppliername') }} : {{ $invoice->supllier->name }} --}}
@if (App\Models\branchs::count() > 1) {{-- {{ __('users.branch') }} : {{ $invoice->user->branch->name }} --}} @endif
{{ __('home.suppliername') }} {{ $invoice->supllier->name }}
{{ __('users.branch') }} {{ $invoice->user->branch->name }}


@foreach (App\Models\orderDetails::where('order_owner', $invoice->id)->get() as $product)
Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 230

Warning: Attempt to read property "Added_Value" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 230

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 230

Warning: Attempt to read property "numberofpice" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 230

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 231

Warning: Attempt to read property "purchasingـprice" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 231

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 231

Warning: Attempt to read property "numberofpice" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 231

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Attempt to read property "purchasingـprice" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Attempt to read property "Added_Value" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Attempt to read property "numberofpice" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 232

Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 234

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 234

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Request_offers_from_suppliers.blade.php on line 234
@endforeach
{{__('home.Invoice_no')}} {{ $invoice->id }}
# {{ __('report.date') }} {{ __('home.productNo') }} {{ __('home.product') }} {{ __('home.quantity') }} {{ __('home.purchase') }} {{ __('home.addedValue') }} {{ __('home.total') }}
{{ $i }} {{ $date[0] }} {{ $product->productData->Product_Code }} {{ $product->productData->product_name }} {{ $product->numberofpice }} {{ $product->purchasingـprice }} {{ $product->Added_Value }} {{ ($product->purchasingـprice + $product->Added_Value) * $product->numberofpice }}

@endforeach
{{ __('report.totalprice') }} {{ __('home.the amount') }}
{{ __('report.totalpricewithoudtax') }} {{ $totalprice }}
{{ __('report.totaltax') }} {{ $totaladdedvalue }}
{{ __('report.totalallprice') }} {{ $totaladdedvalue + $totalprice }}
@endif @if (isset($Invoices)) @endif

@endsection @section('js') @endsection