Exemplo n.º 1
0
echo _('Filtre par journal');
HtmlInput::button_choice_ledger(array('div' => '', 'type' => 'ALL', 'all_type' => 1));
echo '<br/>';
/*
 * Limit by date, default current exercice
 */
list($start, $end) = $g_user->get_limit_current_exercice();
$dstart = new IDate('p_start');
$dstart->value = isset($_REQUEST['p_start']) ? $_REQUEST['p_start'] : $start;
$dend = new IDate('p_end');
$dend->value = isset($_REQUEST['p_end']) ? $_REQUEST['p_end'] : $end;
echo "Opérations entre " . $dstart->input() . " jusque " . $dend->input();
echo '<ol style="list-style-type:none;">';
$radio->selected = $choice == 0 ? true : false;
$radio->value = 0;
echo '<li>' . $radio->input() . _('Opérations rapprochées') . '</li>';
$radio->selected = $choice == 1 ? true : false;
$radio->value = 1;
echo '<li>' . $radio->input() . _('Opérations rapprochées avec des montants différents') . '</li>';
$radio->selected = $choice == 2 ? true : false;
$radio->value = 2;
echo '<li>' . $radio->input() . _('Opérations rapprochées avec des montants identiques') . '</li>';
$radio->selected = $choice == 3 ? true : false;
$radio->value = 3;
echo '<li>' . $radio->input() . _('Opérations non rapprochées') . '</li>';
echo '</ol>';
echo HtmlInput::submit('vis', _('Visualisation'));
echo '</form>';
echo '<hr>';
echo '</div>';
echo '</div>';
Exemplo n.º 2
0
echo '<div id="balance_advanced_div" style="display:none">';
/*  add a all ledger choice */
echo _('Filtre') . " ";
$rad = new IRadio();
$array_ledger = $g_user->get_ledger('ALL', 3);
$array = get_array_column($array_ledger, 'jrn_def_id');
$selected = isset($_GET['r_jrn']) ? $_GET['r_jrn'] : null;
$select_cat = isset($_GET['r_cat']) ? $_GET['r_cat'] : null;
$array_cat = Acc_Ledger::array_cat();
echo '<ul style="list-style-type:none">';
if (!isset($_GET['p_filter']) || $_GET['p_filter'] == 0) {
    $rad->selected = 't';
} else {
    $rad->selected = false;
}
echo '<li>' . $rad->input('p_filter', 0) . _('Aucun filtre, tous les journaux') . '</li>';
if (isset($_GET['p_filter']) && $_GET['p_filter'] == 1) {
    $rad->selected = 't';
} else {
    $rad->selected = false;
}
echo '<li>' . $rad->input('p_filter', 1) . _('Filtré par journal');
echo HtmlInput::button_choice_ledger(array('div' => '', 'type' => 'ALL', 'all_type' => 1));
echo '</li>';
if (isset($_GET['p_filter']) && $_GET['p_filter'] == 2) {
    $rad->selected = 't';
} else {
    $rad->selected = false;
}
echo '<li>' . $rad->input('p_filter', 2) . _('Filtré par catégorie') . HtmlInput::select_cat($array_cat) . '</li>';
echo '</ul>';
Exemplo n.º 3
0
 */
echo HtmlInput::request_to_hidden(array("closed_action", "remind_date_end", "remind_date", "sag_ref", "remind_date", "only_internal", "state", "gDossier", "qcode", "start_date", "end_date", "ag_id", "ag_dest_query", "tdoc", "action_query", "date_start", "date_end", "hsstate", "searchtag"));
?>
<div id="other_div" class="inner_box" style="width:40%;display: none">
    <?php 
echo HtmlInput::title_box(_('Actions sur plusieurs documents'), 'other_div', 'hide', 'action_hide_checkbox();');
?>
    <?php 
echo _("Sélectionner les documents et l' action :");
?>
    <ul style='list-style-type: none;padding-left:30px;margin: 0px' >
        <li >
            <?php 
$radio->value = "IMP";
$radio->selected = true;
echo $radio->input();
?>
            <?php 
echo _("Impression");
?>
        </li>
        <li>
            <?php 
$radio->value = "ST";
$radio->selected = false;
echo $radio->input();
?>
            <?php 
echo _("Changement des états");
?>
            <?php 
Exemplo n.º 4
0
} else {
    echo '<div class="content" style="width:80%;margin-left:10%">';
    echo '<form method="POST" action="admin_repo.php" enctype="multipart/form-data" >';
    echo HtmlInput::hidden('action', 'restore');
    echo HtmlInput::hidden('sa', 'r');
    echo '<table>';
    echo '<tr><td>' . _("Nom de la base de donnée") . HtmlInput::infobulle(29) . '</td>';
    $wNom = new IText();
    $wNom->name = "database";
    $wNom->size = 30;
    echo '<td>' . $wNom->input() . '</td></tr>';
    echo '<tr><td>' . _("Type de backup") . " :" . '</td>';
    $chk = new IRadio();
    $chk->name = "t";
    $chk->value = "d";
    echo '<td> ' . $chk->input() . _("Dossier") . '</td>';
    echo '</tr><tr><td></td>';
    $chk->name = "t";
    $chk->value = "m";
    echo '<td>' . $chk->input() . _("Modele") . '</td>';
    echo '<tr>';
    $file = new IFile();
    $file->name = "file";
    $file->value = "mod";
    echo td(_('Fichier ')) . td($file->input());
    $desc = new ITextarea('desc');
    echo '</tr>';
    echo '</table>';
    echo "<p>Description </p>";
    $desc->heigh = 4;
    $desc->width = 60;