<?= $this->extend('web_layout/admin/lancements_layout') ?>

<?= $this->section('content') ?>

    <div class="container mt-5">
    <h1 class="text-center mb-4">Exporter les Commandes Expédiées</h1>
    <form method="POST" action="/admin/exportdouanesitalie" class="border p-4 shadow-sm bg-light rounded">
        <?= csrf_field() ?>
        <div class="mb-3">
            <label for="start_date" class="form-label">Date de début :</label>
            <input type="date" id="start_date" name="start_date" class="form-control" required>
        </div>
        <div class="mb-3">
            <label for="end_date" class="form-label">Date de fin :</label>
            <input type="date" id="end_date" name="end_date" class="form-control" required>
        </div>
        <button type="submit" class="btn btn-primary w-100">Télécharger le fichier Excel</button>
    </form>
</div>
<?= $this->endSection() ?>