<?php if(!isset($title)) $title = __('reports.title', 'Reports'); ?>

<div class="d-flex justify-content-between align-items-center mb-4">
    <h1 class="h3 mb-0">
        <i class="fas fa-chart-bar"></i> <?= __('reports.dashboard', 'Reports Dashboard') ?>
    </h1>
</div>

<div class="row">
    <div class="col-md-6 mb-3">
        <div class="card">
            <div class="card-header py-2">
                <span class="small fw-bold">
                    <i class="fas fa-calendar-day me-1"></i><?= __('reports.daily_report', 'Daily Production Report') ?>
                </span>
            </div>
            <div class="card-body">
                <p><?= __('reports.daily_desc', 'View daily production reports by customer and production site.') ?></p>
                <a href="/samanta_crm/reports/daily" class="btn btn-primary">
                    <i class="fas fa-eye me-1"></i><?= __('reports.view_report', 'View Report') ?>
                </a>
            </div>
        </div>
    </div>
    
    <div class="col-md-6 mb-3">
        <div class="card">
            <div class="card-header py-2">
                <span class="small fw-bold">
                    <i class="fas fa-flag me-1"></i><?= __('reports.report_flags', 'Report Flags') ?>
                </span>
            </div>
            <div class="card-body">
                <p><?= __('reports.flags_desc', 'Manage report configuration flags and settings.') ?></p>
                <a href="/samanta_crm/report-flags" class="btn btn-primary">
                    <i class="fas fa-cog me-1"></i><?= __('reports.manage_flags', 'Manage Flags') ?>
                </a>
            </div>
        </div>
    </div>
</div>
