@extends('layouts.master') @section('css') @section('title') {{ __('report.Refundـofـresourceـpurchases') }}@stop @endsection @section('page-header')
@endsection @section('content') @if (count($errors) > 0)
خطا
@endif
{{ csrf_field() }}

{{ __('users.branch') }}


@if (isset($Invoices)&&count($Invoices)>0)
@foreach ($Invoices as $invoice)
Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 130

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

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

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

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

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

{{-- {{ __('report.invoiceNo') }} : {{ $invoice->orderId }}
{{ __('home.paymentmethod') }} : @if ($invoice->Pay == 'Cash') {{ __('report.cash') }} @elseif($invoice->Pay == 'Credit') {{ __('report.shabka') }} @else {{ __('report.credit') }} @endif
{{ __('home.suppliername') }} : {{ $invoice->supllier->name }} --}}
@foreach (App\Models\orderDetails::where('order_owner', $invoice->orderId)->where('returns_purchase', '!=', 0)->get() as $product)
Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 202

Warning: Attempt to read property "returns_purchase" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 202

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

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

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

Warning: Attempt to read property "returns_purchase" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 204

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

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

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

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

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 205
@endforeach
{{__('home.Invoice_no')}} {{ $invoice->orderId }} {{ __('home.paymentmethod') }} @if ($invoice->Pay == 'Cash') {{ __('report.cash') }} @elseif($invoice->Pay == 'Credit') {{ __('report.shabka') }} @else {{ __('report.credit') }} @endif {{ __('home.suppliername') }} {{ $invoice->supllier->name }}
# {{ __('report.date') }} {{ __('home.productNo') }} {{ __('home.product') }} {{ __('home.quantity') }} {{ __('home.price') }} {{ __('home.addedValue') }} {{ __('home.total') }}
{{ $i }} {{ $date[0] }} {{ $product->productData->Product_Code }} {{ $product->productData->product_name }} {{ $product->returns_purchase }} {{ $product->purchasingـprice }} {{ $product->Added_Value }} {{ $product->returns_purchase * $product->Added_Value + $product->returns_purchase * $product->purchasingـprice }}
@endforeach

Fatal error: Uncaught Error: Class "App\Models\orderDetails" not found in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php:254 Stack trace: #0 {main} thrown in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/Refund_of_resource_purchases.blade.php on line 254
{{ __('report.totalprice') }} {{ __('home.the amount') }}
1 {{ __('report.totalpricewithoudtax') }} {{ $totalprice }}
2 {{ __('report.totaltax') }} {{ $totaladdedvalue }}