

<?php $__env->startSection('title'); ?>
    الحوالة رقم  <?php echo e($transfer[0]->id); ?>


<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('header-content'); ?>
عرض الحوالة
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
  <!--**********************************
            Content body start
        ***********************************-->
        
            <!-- row -->
			<div class="row" style="width: 95%; margin:auto;">
				<div class="col-xl-12">
				<div class="card">
							<div class="card-body pb-3">
								<div class="row align-items-center">
									<div class="col-9 mb-3">
										<p class="mb-2">رقم الحوالة</p>
										<h2 class="mb-0">00000<?php echo e($transfer[0]->id); ?>#</h2>
									</div>
									<div class="me-3 mb-3 col-2" style="text-align:center ;">
									<p class="mb-2">حالة الحوالة</p>
									<?php if($transfer[0]->status == 0): ?>
									<span class="badge badge-dark light">قيد الانتظار</span>
									<?php elseif($transfer[0]->status == 1): ?>
									<span class="badge badge-primary light">مستلمة</span>
                                    <?php else: ?> 
                                    <span class="badge badge-primary light">ملغية</span>
									<?php endif; ?>
									<!-- <span class="badge badge-rounded badge-primary"></span> -->
								</div>
								</div>
								
							</div>
							<div class="card-body pb-3 transaction-details d-flex flex-wrap justify-content-between align-items-center">
								<div class="user-bx-2 me-3 mb-3 col-8">
									<div>
										<span>اسم المستلم</span>
										<h3><?php echo e($transfer[0]->recipient_name); ?></h3>
									</div>
								</div>
								
								<div class="me-3 mb-3 col-5">
									<p class="mb-2">نوع المادة</p>
									<h4 class="mb-0"><?php echo e($transfer[0]->type); ?></h4>
								</div>
								<div class="me-3 mb-3 col-5">
									<p class="mb-2">الكمية</p>
									<h4 class="mb-0"><?php echo e($transfer[0]->quantity . ' لتر'); ?></h4>
                                </div>
                                <?php if($transfer[0]->status ==1): ?>
                                <p class="blod">
                                    <strong>تاريخ الاستلام : </strong>
                                    <?php echo e($transfer[0]->updated_at); ?>

                                </p>
									<?php endif; ?>
							</div>
						</div>
        
				</div>
			</div>
			
        
						<!--**********************************
            Content body end
        ***********************************-->
					
                
                

<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('/vendor/datatables/js/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('/js/plugins-init/datatables.init.js')); ?>"></script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/transfers/show.blade.php ENDPATH**/ ?>