<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
<title>سند توريد مخزني </title>
    <style>
        .invoice-box {
            max-width: 800px;
            margin: auto;
            padding: 30px;
            border: 1px solid #eee;
            box-shadow: 0 0 10px rgb(0 0 0 / 15%);
            font-size: 16px;
            line-height: 24px;
            font-family: 'Cairo', sans-serif;
            color: #555;
            text-align: right;
        }

        .top {
            display: flex;
            flex-direction: row-reverse;
            align-content: center;
            justify-content: space-between;
            font-size: 20px;
            font-weight: bold;
            padding-bottom: 20px;
            border-bottom: 4px solid #193B62;
        }

        .top span:nth-child(1) {
            display: block;
        }

        .top .right {
            display: flex;
            flex-direction: column;
            align-content: center;
        }

        .top .center {
            display: flex;
            align-items: center;

        }

        .information {
            display: flex;
            flex-direction: row-reverse;
            align-content: center;
            justify-content: center;
            margin-top: 20px;
            padding-left: 50px;
            padding-right: 50px;
        }



        .information .right {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;
        }

        .information .center {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .information .left {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .information-main {
            display: flex;
            flex-direction: row-reverse;
            align-content: center;
            justify-content: space-between;
            margin-top: 30px;
            padding-left: 20px;
            padding-right: 20px;
        }



        .information-main .right {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;
        }

        .information-main .left {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .left span:nth-child(1) {
            display: block;
        }

        .left span:nth-child(2) {
            display: block;
        }

        span {
            margin-right: 8px;
            font-weight: 500;
        }

        .bold {
            font-weight: bold;
        }

        .botom {
            display: flex;
            flex-direction: row-reverse;
            align-content: center;
            justify-content: space-between;
            margin-top: 80px;
            padding-left: 20px;
            padding-right: 20px;

        }

.notice{
    padding-right: 30px;
}

        .botom .seg {
            display: flex;
            flex-direction: column;
            align-content: center;

        }

        .botom .center {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .botom .left {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .botom-seg {
            display: flex;
            flex-direction: row-reverse;
            align-content: center;
            justify-content: space-between;
            margin-top: 10px;
            padding-left: 50px;
            padding-right: 50px;
            margin-bottom: 40px;
        }



        .botom-seg .right {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;
        }

        .botom-seg .center {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .botom-seg .left {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            align-content: center;

        }

        .top-text {
            display: flex;
            margin-bottom: 20px;
            flex-direction: row-reverse;
        }
        .botom-text {
            display: flex;

            flex-direction: row-reverse;
        }

        @media print {
            .invoice-box {
                max-width: unset;
                box-shadow: none;
                border: 0px;
            }
        }

        @page {
            size: A5 landscape
        }
    </style>
</head>

<body>
    <div class="invoice-box">
        <div class="top">
            <div class="left">
                <span>الجمهورية اليمنية</span>
                <span>صنعاء شارع الستين</span>
                <span>+967 773344551</span>
            </div>
            <div class="center">
                <img width="200" src="<?php echo e(asset('/images/logo-full.png')); ?>" alt="">

            </div>
            <div class="right">

                <span class="">رقم السند :
                <?php if(isset($recept->id)): ?>
                    <?php echo e($recept->id); ?>

                <?php endif; ?></span>
                <span class="">رقم التوزيع :
                <?php if(isset($StoreOperation->id)): ?>
                    <?php echo e($StoreOperation->id); ?>

                <?php endif; ?></span>
                <span class="" id="hijri">
                    
                </span>
                    <span class="" id="milady">
                     </span>
            </div>

        </div>

        <div class="information">

            <div class="center">
                <?php if($StoreOperation->is_active==1): ?>
                    <span class="bold">سند توريد مخزني</span>
                <?php else: ?>
                    <span class="bold">سند استرجاع توريد مخزني </span>
                <?php endif; ?>
            </div>

        </div>


        <div class="information-main">
            <div class="seg">
                <div class="top-text">
                    <span class="bold">:  الجهة الموردة</span>
                    <span><?php if(isset($supplier)): ?><?php echo e($account->deleteTypeAccount($supplier->name)); ?><?php endif; ?></span>
                </div>
                <div class="botom-text">
                <span class="bold">: الكمية</span>
                    <span><?php if(isset($StoreOperation->quantity)): ?>
                        <?php echo e($StoreOperation->quantity); ?>

                    <?php endif; ?></span>
                    <span class="bold">لتر</span>
                </div>

            </div>
            <div class="seg">
                <div class="top-text">
                    <span class="bold">: العامل المستلم</span>
                        <span><?php if(isset($employeeName)): ?><?php echo e($account->deleteTypeAccount($employeeName)); ?><?php endif; ?></span>    
                </div>
                <div class="botom-text">
                    <span class="bold">: النوع</span>
                    <span>
                        <?php if(isset($StoreOperation->tank->type)): ?>
                        <?php if($StoreOperation->tank->type==0): ?>
                            بترول
                        <?php else: ?>
                            ديزل
                        <?php endif; ?>
                    <?php endif; ?>
                </span>
                </div>

            </div>

        </div>

<div class="notice">
    <p><strong>الى الخزان رقم  :</strong><?php echo e($StoreOperation->tank_id); ?></p>
</div>
        <div class="botom">
            <div class="seg">
                <div class="top-text">
                    <span class="bold">: العامل </span>
                    <span><?php if(isset($employeeName)): ?><?php echo e($account->deleteTypeAccount($employeeName)); ?><?php endif; ?></span>    
                </div>
                <div class="botom-text">
                    <span class="bold">: التوقيع</span>
                    <span>........................</span>
                </div>

            </div>
            <div class="seg">
                <div class="top-text">
                    <span class="bold">: المحاسب</span>
                    <span><?php if(isset($accounterName)): ?>
                        <?php echo e($accounterName); ?>

                        <?php endif; ?>
                </div>
                <div class="botom-text">
                    <span class="bold">: التوقيع</span>
                    <span>........................</span>
                </div>
            </div>
            <div class="seg">
                <div class="top-text">
                    <span class="bold">: المدير</span>
                    <span><?php if(isset($adminName)): ?>
                        <?php echo e($adminName); ?>

                    <?php endif; ?></span>
                </div>

                <div class="botom-text">
                    <span class="bold">: التوقيع</span>
                    <span>........................</span>
                </div>
            </div>
    </div>

</body>
<script src="<?php echo e(asset('/js/date/hijri.js')); ?>"></script>


</html>
<?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/supply/receipt-store.blade.php ENDPATH**/ ?>