.
*
* @package vues
*
* Extrait de comptes
*/
//$this->load->library('ButtonNew');
$this->load->library('DataTable');
$this->load->view('bs_header');
$this->load->view('bs_menu');
$this->load->view('bs_banner');
echo '
';
if (isset($message)) {
echo p($message) . br();
}
echo checkalert($this->session);
?>
= $this->lang->line("gvv_compta_title_entries") ?>
= year_selector($controller, $year, $year_selector) ?>
$controller,
'fields' => $fields,
'actions' => array('edit', 'delete'),
'page' => "journal_compte/$compte",
'uri_segment' => 4,
'mode' => ($has_modification_rights) ? "rw" : "ro",
'class' => "sql_table table"
);
if ($count > 400) {
$attrs['count'] = $count;
$attrs['first'] = $premier;
} else {
if ($has_modification_rights) {
$attrs['class'] .= " datedtable";
} else {
$attrs['class'] .= " datedtable_ro";
}
}
// echo "rights=$has_modification_rights" . br();
echo '
';
echo $this->gvvmetadata->table("vue_journal", $attrs, "");
echo '
';
// Solde final
if ($solde_fin < 0) {
$solde_deb = euro(abs($solde_fin));
$solde_cred = "";
} else {
$solde_deb = "";
$solde_cred = euro($solde_fin);
}
?>
'saisie'));
// hidden contrller url for java script access
echo form_hidden('controller_url', controller_url($controller), '"id"="controller_url"');
echo form_hidden('saisie_par', $saisie_par, '');
echo form_hidden('id', 0);
echo form_hidden('action', $action);
echo form_hidden('pilote', $pilote);
echo form_fieldset($this->lang->line("gvv_compta_fieldset_achats"), array(
'class' => 'coolfieldset startClosed',
'title' => $this->lang->line("gvv_compta_filter_tooltip")
));
echo '
';
echo '
' .
'';
echo input_field('date', $date, array('type' => 'text', 'size' => '10', 'class' => 'datepicker')) . "
";
echo '
' . $this->lang->line("gvv_compta_purchase_headers")[1] . nbs(2);
echo dropdown_field(
'produit',
$produit,
$produit_selector,
"id='product_selector' "
) . "
";
echo '
' . $this->lang->line("gvv_compta_purchase_headers")[2] . nbs(2);
echo input_field('quantite', $quantite, array('type' => 'text', 'size' => '10')) . "
";
echo '
' . $this->lang->line("gvv_compta_purchase_headers")[3] . nbs(2);
echo input_field('description', $description, array('type' => 'text', 'size' => '50')) . "
";
echo form_input(array('type' => 'submit', 'name' => 'button', 'value' => 'Validation', 'id' => 'validation_achat')) ;
echo "
";
echo form_fieldset_close();
echo form_close();
}
if ($this->dx_auth->is_role('tresorier')) {
echo button_bar2("$controller/export/$compte", array('Excel' => "button", 'Pdf' => "button", $this->lang->line("gvv_compta_button_freeze") => 'button'));
} else {
echo button_bar2("$controller/export/$compte", array('Excel' => "button", 'Pdf' => "button"));
}
echo '
';
?>