@if(Session::has('success'))
{{Session::get('success')}}
@php
Session::forget('success');
@endphp
@endif
@if(Session::has('danger'))
{{Session::get('danger')}}
@php
Session::forget('danger');
@endphp
@endif
| Sl |
Date |
Voucher Ref |
Customer Name |
Total |
Paid |
Status |
Action |
@if(isset($all_sales_return))
@foreach($all_sales_return as $key => $value)
| {{ ++$key }} |
{{ $value->date }} |
{{ $value->voucher_ref }} |
{{ $value->customer_name }} |
{{ $value->memo_total }} |
{{ $value->advanced_amount }} |
@if($value->status == "Due")
{{ $value->status }}:{{ $value->memo_total - $value->advanced_amount -$value->discount }} |
@else
{{ $value->status }} |
@endif
View
@if(Auth::user()->role == 'admin')
@endif
|
@endforeach
@endif