<div>
    <!--[if BLOCK]><![endif]--><?php if($canView): ?>
        <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg border-t-4 border-teal-500 h-full">
            <div class="p-6">
                <h3 class="text-lg font-semibold text-gray-900 dark:text-white">
                    <i class="fa fa-chart-pie text-teal-500 ml-2"></i>
                    خلاصه وضعیت مالی
                </h3>

                <div class="mt-4 space-y-4">
                    
                    <div class="flex items-center justify-between">
                        <p class="text-sm text-gray-600 dark:text-gray-300">فاکتورهای در انتظار پرداخت</p>
                        <span class="font-bold text-gray-800 dark:text-gray-100"><?php echo e($pendingInvoicesCount); ?> مورد</span>
                    </div>
                    <hr class="dark:border-gray-700">
                    
                    <div class="flex items-center justify-between">
                        <p class="text-sm text-gray-600 dark:text-gray-300">مبلغ کل در انتظار پرداخت</p>
                        <span class="font-bold text-yellow-600 dark:text-yellow-400"><?php echo e(number_format($pendingInvoicesAmount)); ?> تومان</span>
                    </div>
                    <hr class="dark:border-gray-700">
                    
                    <div class="flex items-center justify-between">
                        <p class="text-sm text-gray-600 dark:text-gray-300">پرداخت شده (۳۰ روز اخیر)</p>
                        <span class="font-bold text-green-600 dark:text-green-400"><?php echo e(number_format($paidLast30DaysAmount)); ?> تومان</span>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
</div>
<?php /**PATH D:\wamp64\www\benchsync\resources\views/livewire/financial-summary-widget.blade.php ENDPATH**/ ?>