<table class="table bda-data-table-box bda-w-500">
    <tbody>
    <tr>
        <th class="text-start">{{__('Order Id')}}</th>
        <td>{{$orderData?->order_id ?? __('N/A')}}</td>
    </tr>
    <tr>
        <th class="text-start">{{__('Customer Name')}}</th>
        <td>{{$orderData?->user?->name ?? __('N/A')}}</td>
    </tr>
    <tr>
        <th class="text-start">{{__('Package Name')}}</th>
        <td>{{$orderData?->package?->package_name ?? __('N/A')}}</td>
    </tr>
    <tr>
        <th class="text-start">{{__('Payment Gateway')}}</th>
        <td>{{$orderData?->gateway->name ?? __('N/A')}}</td>
    </tr>
    <tr>
        <th class="text-start">{{__('Price')}}</th>
        <td>{{showCurrency($orderData?->total) ?? __('N/A')}}</td>
    </tr>
    <tr>
        <th class="text-start">{{__('Status')}}</th>
        <td>
            @if($orderData?->status == ORDER_STATUS_SUCCESS)
                <div class="success bda-gab-10 d-flex align-items-center">
                    <img src="{{getImageUrl('assets/images/icon/resolved.svg')}}" alt="{{__('Success')}}">
                    {{__('Success')}}
                </div>
            @elseif($orderData?->status == ORDER_STATUS_PENDING)
                <div class="warning bda-gab-10 d-flex align-items-center">
                    <img src="{{getImageUrl('assets/images/icon/Progress.svg')}}" alt="{{__('Pending')}}">
                    {{__('Pending')}}
                </div>
            @elseif($orderData?->status == ORDER_STATUS_CANCEL)
                <div class="danger bda-gab-10 d-flex align-items-center">
                    <img src="{{getImageUrl('assets/images/icon/Cancelled.svg')}}" alt="{{__('Cancel')}}">
                    {{__('Cancel')}}
                </div>
            @endif
        </td>
    </tr>
    <tr>
        <th class="text-start">{{__('Created At')}}</th>
        <td>{{$orderData?->created_at->format('yy-m-d') ?? __('N/A')}}</td>
    </tr>
    </tbody>
</table>
