<div
    class="items-center justify-between p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:flex dark:border-gray-700 sm:p-6 dark:bg-gray-800">
    <div class="w-full">
        <h3 class="text-base font-normal text-gray-500 dark:text-gray-400"><?php echo app('translator')->get('modules.dashboard.averageDailyEarning'); ?> (<?php echo e(now()->translatedFormat('F')); ?>)
        </h3>
        <span class="text-2xl font-bold leading-none text-gray-900 sm:text-3xl dark:text-white"><?php echo e(currency_format(round($orderCount, 2), restaurant()->currency_id)); ?></span>
        <p class="flex items-center text-base font-normal text-gray-500 dark:text-gray-400">
            <span class="<?php echo \Illuminate\Support\Arr::toCssClasses(["flex items-center mr-1.5 text-sm", 'text-green-500 dark:text-green-400'=> ($percentChange >
                0), 'text-red-600 dark:text-red-600' => ($percentChange < 0)]); ?>">
                    <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"
                        aria-hidden="true">
                        <!--[if BLOCK]><![endif]--><?php if($percentChange > 0): ?>
                        <path clip-rule="evenodd" fill-rule="evenodd"
                            d="M10 17a.75.75 0 01-.75-.75V5.612L5.29 9.77a.75.75 0 01-1.08-1.04l5.25-5.5a.75.75 0 011.08 0l5.25 5.5a.75.75 0 11-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0110 17z">
                        </path>
                        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                        <!--[if BLOCK]><![endif]--><?php if($percentChange < 0): ?> <path clip-rule="evenodd" fill-rule="evenodd"
                            d="M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75 0 111.08 1.04l-5.25 5.5a.75.75 0 01-1.08 0l-5.25-5.5a.75.75 0 111.08-1.04l3.96 4.158V3.75A.75.75 0 0110 3z">
                            </path>
                            <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                    </svg>
                    <?php echo e(round($percentChange, 2)); ?>%
            </span>
            <?php echo app('translator')->get('modules.dashboard.sincePreviousMonth'); ?>
        </p>
    </div>
</div><?php /**PATH /home/dovishfinancial/public_html/MENU/resources/views/livewire/dashboard/average-daily-earning.blade.php ENDPATH**/ ?>