@if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @if (auth()->user()->is_add == 1) Add Refund Form @else @endif @else Add Refund Form @endif
@if (session()->has('message')) @php $message = json_decode(session()->get('message')); @endphp @endif
{{-- @dd($refunds); --}} @forelse($refunds as $refund) {{-- --}} @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @empty @endforelse
Date Client Supplier Approval Details... Products Client Shipping Supplier Shipping Supplier Credit Note Client Credit Note Action
{{ $refund->created_at->toDateString() }} {{ implode('
', $refund->client->toArray()) }}
{{ substr($refund->client_request,0,5)."...." }}{{ $refund->supplier_approval }} {{-- --}} @if ($refund->clientShipping) @else @endif @if (auth()->user()->is_edit == 1) @else @endif @if (auth()->user()->is_delete == 1) @else @endif
No Data!
Showing {{ $refunds->firstItem() }} to {{ $refunds->lastItem() }} of {{ $refunds->total() }} results
{{ $refunds->links() }}
@push('styles') @endpush @push('modals') @livewire('dashboard.refund.client-shipping-modal') @livewire('dashboard.refund.supplier-shipping-modal') @livewire('dashboard.refund.client-credit-note-modal') @livewire('dashboard.refund.supplier-credit-note-modal') @livewire('dashboard.refund.product-modal') @livewire('dashboard.refund.request') @livewire('dashboard.imei-list') @livewire('dashboard.refund.r-m-a-details') @endpush @push('scripts') @endpush