Skip to content

Commit

Permalink
🚑 fix the generation of the expense note
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent De Coninck committed Oct 25, 2023
1 parent 484acff commit 6fd410b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generateExpenseNote.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,14 @@
];
}

dol_fiche_head($tabLinks, "tab_".$year);
dol_fiche_head($tabLinks, "tab_".(empty($year)?$currentYear:$year));

?>
<form method="POST">

<!-- action -->
<input type="hidden" name="action" value="<?= EXPENSE_REPORT_GENERATOR_ACTION_GENERATE ?>">
<input type="hidden" name="token" value="<?php echo newToken();?>"/>

<?php
$queryHandler = new GetPilotsWithMissionsQueryHandler($db);
Expand Down Expand Up @@ -147,8 +148,7 @@

<!-- Public note -->
<label><?= $langs->trans("Note publique (commune à toutes les notes de frais)"); ?></label><br/>
<textarea name="public_note" wrap="soft" class="quatrevingtpercent" rows="2">
Les frais pilotes regroupent tous les frais qu'à le pilote pour organiser son vol (Champagne, Téléphone, Diplômes, ...).
<textarea name="public_note" wrap="soft" class="quatrevingtpercent" rows="2">Les frais pilotes regroupent tous les frais qu'à le pilote pour organiser son vol (Champagne, Téléphone, Diplômes, ...).
</textarea>
<br/>

Expand All @@ -161,4 +161,4 @@
</form>

<?php
llxFooter();
llxFooter();

0 comments on commit 6fd410b

Please sign in to comment.