@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row justify-content-center mt-2">
        <div class="col">
            <div class="card">
                <div class="card-header">{{ __('Report Return Sale') }}</div>

                <div class="card-body">
                    @if($invoices->isEmpty())
                    <table class="table table-striped mt-2" id="example" style="width:100%">
                        <thead>
                            <tr>
                                <th>Invoice</th>
                                <th>Tanggal</th>
                                <th>Jam</th>
                                <th>User</th>
                                <th>Staff</th>
                                <th>Qty</th>
                                <th>Return Value</th>
                                <th>Total Return</th>
                                <th>Cash</th>
                                <th>Card</th>
                                <th>#</th>
                            </tr>
                        </thead>
                        
                    </table>
                    @else
                    <livewire:report.returnsalereport />

                    @endif

                </div>
            </div>
        </div>
    </div>
</div>
@endsection