Document: generate : Document_type standard
Signed-off-by: sparkyx <danydb@noalyss.eu>
This commit is contained in:
parent
69428c639c
commit
736fe561ad
1 changed files with 1 additions and 0 deletions
|
|
@ -1750,6 +1750,7 @@ class Document
|
|||
join document_type dt on (ag_type=dt.dt_id)
|
||||
where ag_id=$1", array($p_array["ag_id"]));
|
||||
} elseif (isset($p_array['gen_doc'])) {
|
||||
if ( $p_array['gen_doc'] == -2) return _("Facture standard");
|
||||
$ret = $this->db->get_value("
|
||||
select md_name from public.document_modele where md_id=$1",
|
||||
[$p_array['gen_doc']]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue