<!DOCTYPE html>
<html>
<head>
</head>
<body>
<style>
    table {
        font-family: 'aealarabiya', sans-serif;
        border-collapse: collapse;
        width: 100%;
    }

    td, th {
        border: 1px solid #000;
        text-align: center;
        padding: 8px;
    }


    body{
        font-family: 'Lato', sans-serif;
        font-family:  'aealarabiya', sans-serif;
    }
</style>

<table dir="rtl" width="100%" style=" font-family: aealarabiya, sans-serif; border-collapse: collapse;">
    <tr dir="rtl">
        <th style="background-color: #F7F0DE;">{{ __('deliveries.name') }}</th>
        <th style="background-color: #F7F0DE;">{{ __('deliveries.phone') }}</th>
        <th style="background-color: #F7F0DE;">{{ __('dashboard.created_at') }}</th>
    </tr>
    @foreach($deliveries as $key=> $row)
        <tr>
            <td> {{ $row->name ?? '' }}</td>
            <td> {{ $row->phone ?? '' }}</td>
            <td>{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
        </tr>
    @endforeach
</table>
