<?php $__env->startSection('content'); ?>
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
    <h1 class="h2">Genel Durum</h1>
</div>

<div class="row">

    <div class="col-lg-3 col-md-6">
        <div class="card mb-4 rounded-3 shadow-sm">
            <div class="card-header py-3">
                <h4 class="my-0 fw-normal">Entegrasyon Sayısı</h4>
            </div>
            <div class="card-body text-center">
                <h1 class="card-title pricing-card-title"><?php echo e($integrationCount); ?></h1>
                <a href="<?php echo e(route('integration-add')); ?>" class="w-100 btn btn-lg btn-outline-primary">Site Ekle</a>
            </div>
        </div>
    </div>
    <div class="col-lg-3 col-md-6">
        <div class="card mb-4 rounded-3 shadow-sm">
            <div class="card-header py-3">
                <h4 class="my-0 fw-normal">Hatalı İşlem</h4>
            </div>
            <div class="card-body text-center">
                <h1 class="card-title pricing-card-title"><?php echo e($errorCount); ?></h1>
                <a href="<?php echo e(route('logs')); ?>" class="w-100 btn btn-lg btn-outline-warning">İncele</a>
            </div>
        </div>
    </div>


    <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $project): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
            <h1 class="h2"><?php echo e($project['projectName']); ?></h1>
        </div>

        <div class="col-lg-3 col-md-6">
            <div class="card mb-4 rounded-3 shadow-sm">
                <div class="card-header py-3">
                    <h4 class="my-0 fw-normal">Ürün</h4>
                </div>
                <div class="card-body text-center">
                    <h1 class="card-title pricing-card-title"><?php echo e($project['productCount']); ?></h1>
                </div>
            </div>
        </div>

        <div class="col-lg-3 col-md-6">
            <div class="card mb-4 rounded-3 shadow-sm">
                <div class="card-header py-3">
                    <h4 class="my-0 fw-normal">Siparişler</h4>
                </div>
                <div class="card-body text-center">
                    <h1 class="card-title pricing-card-title"><?php echo e($project['orderCount']); ?></h1>
                </div>
            </div>
        </div>

        <div class="col-lg-3 col-md-6">
            <div class="card mb-4 rounded-3 shadow-sm">
                <div class="card-header py-3">
                    <h4 class="my-0 fw-normal">Bekleyen Siparişler</h4>
                </div>
                <div class="card-body text-center">
                    <h1 class="card-title pricing-card-title"><?php echo e($project['ordersWaiting']); ?></h1>
                </div>
            </div>
        </div>

        <div class="col-lg-3 col-md-6">
            <div class="card mb-4 rounded-3 shadow-sm">
                <div class="card-header py-3">
                    <h4 class="my-0 fw-normal">Hatalı İşlem</h4>
                </div>
                <div class="card-body text-center">
                    <h1 class="card-title pricing-card-title"><?php echo e($project['errorCount']); ?></h1>
                </div>
            </div>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rstudors/public_html/nebim-entegrasyon/resources/views/dashboard.blade.php ENDPATH**/ ?>