<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">استيراد السيارات</a></li>
            <li><a href="carTrackingController.php?do=show">تتبع مسار السيارات </a></li>
            <li class="active">تفاصيل</li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">تفاصيل</h3>
            </div>
            <div class="panel-body">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">الشاسيه </label>
                        <div class="col-lg-4">
                            {foreach $allChasis as $single}
                                {if $trackingData.chasis eq $single.chasisno}{$single.chasisno}{/if}
                            {/foreach}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">اخر مستخدم قام بالتعديل </label>
                        <div class="col-lg-4">
                            {$trackingData.lastuser}
                        </div>
                    </div>
                    <table class="table table-bordered table-black">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>الحالة</th>
                                <th>التاريخ</th>
                                <th>تعليق</th>
                                <th>مستخدم تغيير الحالة</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>شراء</td>
                                <td>
                                    {$trackingData.buydate}
                                </td>
                                <td>{$trackingData.buycomment}</td>
                                <td>{$trackingData.buyuser}</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td>warehouse</td>
                                <td>{$trackingData.warehousedate}</td>
                                <td>{$trackingData.warehousecomment}</td>
                                <td>{$trackingData.warehouseuser}</td>
                            </tr>
                            <tr>
                                <td>3</td>
                                <td>E2</td>
                                <td>{$trackingData.e2date}</td>
                                <td>{$trackingData.e2comment}</td>
                                <td>{$trackingData.e2user}</td>
                            </tr>
                            <tr>
                                <td>4</td>
                                <td>الميناء</td>
                                <td>{$trackingData.portdate} </td>
                                <td>{$trackingData.portcomment}</td>
                                <td>{$trackingData.portuser}</td>
                            </tr>
                            <tr>
                                <td>5</td>
                                <td>الوصول</td>
                                <td>{$trackingData.arrivaldate}</td>
                                <td>{$trackingData.arrivalcomment}</td>
                                <td>{$trackingData.arrivaluser}</td>
                            </tr>
                            <tr>
                                <td>6</td>
                                <td>showroom</td>
                                <td>{$trackingData.showroomdate}</td>
                                <td>{$trackingData.showroomcomment}</td>
                                <td>{$trackingData.showroomuser}</td>
                            </tr>
                            <tr>
                                <td>7</td>
                                <td>استلام العميل</td>
                                <td>{$trackingData.deliverdate}</td>
                                <td>{$trackingData.delivercomment}</td>
                                <td>{$trackingData.deliveruser}</td>
                            </tr>
                        </tbody>
                    </table>
            </div>
        </div>
    </div>
</div>