Skip to content

Commit

Permalink
Update fiscalyear_card.php
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Sep 6, 2018
1 parent c5695db commit 7e0ef3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/accountancy/admin/fiscalyear_card.php
Expand Up @@ -169,12 +169,12 @@

// Date start
print '<tr><td class="fieldrequired">' . $langs->trans("DateStart") . '</td><td>';
print $form->select_date(($date_start ? $date_start : ''), 'fiscalyear');
$form->select_date(($date_start ? $date_start : ''), 'fiscalyear');
print '</td></tr>';

// Date end
print '<tr><td class="fieldrequired">' . $langs->trans("DateEnd") . '</td><td>';
print $form->select_date(($date_end ? $date_end : - 1), 'fiscalyearend');
$form->select_date(($date_end ? $date_end : - 1), 'fiscalyearend');
print '</td></tr>';

/*
Expand Down Expand Up @@ -225,12 +225,12 @@

// Date start
print '<tr><td class="fieldrequired">' . $langs->trans("DateStart") . '</td><td>';
print $form->select_date($object->date_start ? $object->date_start : - 1, 'fiscalyear');
$form->select_date($object->date_start ? $object->date_start : - 1, 'fiscalyear');
print '</td></tr>';

// Date end
print '<tr><td class="fieldrequired">' . $langs->trans("DateEnd") . '</td><td>';
print $form->select_date($object->date_end ? $object->date_end : - 1, 'fiscalyearend');
$form->select_date($object->date_end ? $object->date_end : - 1, 'fiscalyearend');
print '</td></tr>';

// Statut
Expand Down

0 comments on commit 7e0ef3a

Please sign in to comment.