Sindbad~EG File Manager

Current Path : /home/webg5288/www/laravel_kendal/storage/framework/views/
Upload File :
Current File : /home/webg5288/www/laravel_kendal/storage/framework/views/94262521df5ca98d05d6351804f8884f.php

<?php
    $run = $this->run;
?>

<div class="p-4 bg-white rounded-xl shadow">
    <div class="font-semibold text-lg">Progress Import Pemasukan</div>

    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!$run): ?>
        <div class="mt-2 text-sm text-gray-600">Belum ada proses import.</div>
    <?php else: ?>
        <?php
            $total = max(1, (int)($run->total_rows ?? 1));
            $done  = (int)($run->processed_rows ?? 0);
            $pct   = min(100, (int)(($done / $total) * 100));
        ?>

        <div class="mt-2 text-sm">
            Status: <b><?php echo e($run->status); ?></b><br>
            <span class="text-gray-600"><?php echo e($run->message); ?></span>
        </div>

        <div class="mt-3">
            <div class="w-full bg-gray-200 rounded-full h-3">
                <div class="h-3 rounded-full" style="width: <?php echo e($pct); ?>%; background:#2563eb;"></div>
            </div>
            <div class="mt-1 text-xs text-gray-600"><?php echo e($done); ?> / <?php echo e($run->total_rows); ?> (<?php echo e($pct); ?>%)</div>
        </div>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($run->status === 'failed' && is_array($run->missing_items) && count($run->missing_items)): ?>
            <div class="mt-4">
                <div class="font-semibold text-sm text-red-600">Barang tidak ada di tr_stock:</div>
                <div class="mt-2 max-h-48 overflow-auto border rounded p-2 text-xs">
                    <table class="w-full">
                        <thead>
                            <tr class="text-left">
                                <th class="py-1 pr-2">kode_brg</th>
                                <th class="py-1">nama_brg</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $run->missing_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $it): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td class="py-1 pr-2"><?php echo e($it['kode_brg'] ?? ''); ?></td>
                                    <td class="py-1"><?php echo e($it['nama_brg'] ?? ''); ?></td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
</div>
<?php /**PATH /home/webg5288/public_html/laravel_kendal/resources/views/filament/widgets/import-tr-masuk-progress.blade.php ENDPATH**/ ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists