44 <div
class=
"" id=
"opening_div">
45 <
h2><?= _(
"Ouverture") ?></
h2>
46 <div
class=
"text-muted">
47 <?= _(
"Ouverture des comptes pour l'exercice qui débute pour les comptes 0 à 5.") ?>
48 <?= (
"Choisissez l'exercice clôturé (exercice N-1) du dossier à reporter pour les a-nouveaux (exercice N)") ?>
65 $array[
$i][
'label'] = sprintf(
"%s %s (%s)",
$r[
'dos_id'],
$r[
'dos_name'],substr(
$r[
'dos_description']??
"",0,50));
74 $exercice =
$cn->make_array(
"select distinct p_exercice,p_exercice_label from parm_periode order by p_exercice desc");
82 <div
class=
"form-group">
83 <
label for=
"dos_id"><?= _(
"Depuis le dossier") ?></
label>
86 <div
class=
"form-group">
87 <
label for=
"dos_id"><?= _(
"Exercice N-1") ?></
label>
104 <div
class=
"" id=
"closing_div" style=
"display:grid">
106 <div
class=
"text-muted">Clôture de l
'exercice pour les comptes 6 à 7</div>
110 echo HtmlInput::array_to_hidden(["gDossier","ac"],$_REQUEST);
111 echo HtmlInput::hidden("sa","closing");
112 $cl_exercice = $cn->make_array("select distinct p_exercice,p_exercice_label from parm_periode order by p_exercice desc");
113 $sclExercice = new ISelect("exercice_cl");
114 $sclExercice->id = "select_exercice_cl_id";
115 $sclExercice->value = $cl_exercice;
117 <div class="form-group">
118 <label for="exercice_cl"><?= _("Exercice à clôturer") ?></label>
119 <?php echo $sclExercice->input(); ?>
121 <?= \HtmlInput::submit("ope_submit", _("Valider")) ?>
h2($p_string, $p_class="", $raw="")
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
static id()
return the 'gDossier' value after a check
Html Input : Input a date format dd.mm.yyyy The property title should be set to indicate what it is e...
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static echo_file($msg, $print=true)
display the file