


<div class="cards shadows h-100  btn-action-click list-group-item-action cursor-pointer" style="background: transparent">
    <div class="card-body p-2 border">
        <div class="rows no-gutters align-items-center">
            <div class="row mb-1">
                <div class="col">
                    <h5 class="mb-1 fs-15 text-success">{{$order->customer->full_name}}</h5>
                </div>
                <div class="col">
                    <div class="float-right">
                        <small class="fs-9">{{format_date($order->customer->created_at,"Y-m-d H:i:s")}}</small>
                    </div>
                </div>
            </div>
            <div class="row mb-1">
                <div class="col-auto">
                    <div class="float-left mb-1 fs-13 text-muteds">
                        <strong class="text-black">
                           <span class="border-right m-r-2" style="border-right: 1px solid #eee;">
                               <i class="fs-11 fa fa-briefcase"></i>
                               <span>{{__(":count  x Product(s)",['count' => format_amount(count($order->items)) ])}} </span>
                           </span>
                            <span class="m-r-2">
                                <i class="fs-11 fa fa-money-bill-alt"></i>
                               {{format_amount($order->total, $order->currency)}}
                           </span>
                        </strong>
                    </div>
                </div>
                <div class="col">
                    <div class="float-right">
                        <strong class="fs-14 text-green">{{$order->ref_id}} </strong>
                    </div>
                </div>
            </div>
            <div class="row mb-1">
                <div class="col-auto">
                    <div class="float-left">
                        <small class="text-muted">{{$order?->billingDesk?->name ?? "---"}}</small>
                    </div>
                </div>
                <div class="col">
                    <div class="float-right">
                       <small>
                           {!! $order->status->badge_label !!}
                       </small>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

