<?php
    $businessName = $appSettings['business_name'] ?? 'SolarFlow';
    $logo = $appSettings['logo'] ?? null;
?>
<div class="report-head d-flex justify-content-between align-items-start gap-3">
    <div class="d-flex gap-3 align-items-start">
        <?php if($logo): ?><img src="/<?php echo e($logo); ?>" alt="<?php echo e($businessName); ?>" class="report-logo"><?php endif; ?>
        <div>
            <h5 class="mb-1"><?php echo e($businessName); ?></h5>
            <div class="text-muted small">
                <?php echo e($appSettings['business_address'] ?? ''); ?>

                <?php if(!empty($appSettings['business_phone'])): ?><br><?php echo e($appSettings['business_phone']); ?><?php endif; ?>
                <?php if(!empty($appSettings['business_email'])): ?><br><?php echo e($appSettings['business_email']); ?><?php endif; ?>
                <?php if(!empty($appSettings['tax_number'])): ?><br><?php echo e(__('Tax / Registration No.')); ?>: <?php echo e($appSettings['tax_number']); ?><?php endif; ?>
            </div>
        </div>
    </div>
    <div class="text-end">
        <h6 class="mb-1"><?php echo e($title ?? __('Report')); ?></h6>
        <small class="text-muted"><?php echo e(__('Printed')); ?>: <?php echo e(\App\Support\DualDate::format(now(), 'Y-m-d H:i')); ?></small>
        <?php if(isset($period)): ?><br><small class="text-muted"><?php echo e($period); ?></small><?php endif; ?>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\TradeERP\resources\views/reports/partials/header.blade.php ENDPATH**/ ?>