@extends('tablar::page')

@section('content')
<div class="page-header d-print-none">
    <div class="container-xl">
        <div class="row g-2 align-items-center">
            <div class="col">
                <h2 class="page-title">Item List</h2>
            </div>
        </div>
    </div>
</div>

<div class="page-body">
    <div class="container-xl">
        <div class="row row-cards">
            <div class="col-12">
                <div class="card">
                    <div class="table-responsive">
                        <table class="table table-vcenter card-table">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>Description</th>
                                    <th>Estimated Value</th>
                                    <th>Minimum Bid</th>
                                </tr>
                            </thead>
                            <tbody>
                                @foreach($itemlist_results as $item)
                                    <tr>
                                        <td>{{ $item->item_assigned_num }}</td>
                                        <td>{{ $item->item_desc }}</td>
                                        <td>${{ number_format($item->item_est_value, 2) }}</td>
                                        <td>${{ number_format($item->item_min_bid, 2) }}</td>
                                    </tr>
                                @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
@push('js')
@endpush
