[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 11/15: Improve : ANCGL , type of export manda
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 11/15: Improve : ANCGL , type of export mandatory |
Date: |
Mon, 25 Jan 2021 18:56:23 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6f1f8d562924400dc94c423b6796ed80dda94a89
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Jan 25 18:41:50 2021 +0100
Improve : ANCGL , type of export mandatory
---
include/anc_great_ledger.inc.php | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/include/anc_great_ledger.inc.php b/include/anc_great_ledger.inc.php
index 53d727d..da41277 100644
--- a/include/anc_great_ledger.inc.php
+++ b/include/anc_great_ledger.inc.php
@@ -45,7 +45,7 @@ if ($result != null)
$type_pdf=new Select_Box("type_pdf",_("Type export PDF"));
$type_pdf->add_value(_("Un seul PDF"),1);
$type_pdf->add_value(_("Un PDF par opération"),2);
- $type_pdf->set_position("absolute");
+ $type_pdf->set_position("in-absolute");
echo $type_pdf->input();
echo $grandLivre->button_export_pdf();
@@ -67,11 +67,16 @@ if ($result != null)
break;
}
}
+ if (document.getElementById("type_pdf").value == "-1" )
+ {
+ valid=false;
+ }
+
if ( valid ) {
progress_bar_start(p_task_id,p_message);
return true;
} else {
- smoke.alert("<?=_('Choisissez au moins une opération')?>");
+ smoke.alert("<?=_('Choisissez au moins une opération et le type
d\'export')?>");
return false;
}
- [Noalyss-commit] [noalyss] 01/15: Tache 0001885: postes utilisables dans Opération ODS, (continued)
- [Noalyss-commit] [noalyss] 01/15: Tache 0001885: postes utilisables dans Opération ODS, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 08/15: New #0001887: ANCGL ajout champs numéro action, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 05/15: NEW #0001886: ANC/ANCIMP/ANCGL >> Export PDF, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 04/15: DEBUG : show file name, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 10/15: Improve : Select_Box , placement, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 02/15: Security : constructor can take info from request, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 03/15: Fix : PHP compatibility with count Fix : Dossier::set_current Code cleaning ,, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 07/15: NEW #0001886: ANC/ANCIMP/ANCGL >> Export PDF Place properly the select_box, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 06/15: Bug : javascript message were unavailable, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 09/15: Cosmetic & code cleaning, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 11/15: Improve : ANCGL , type of export mandatory,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 12/15: Improve : add a function for detection SQL inject, Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 14/15: Merge branch 'dev-8-cosmetic', Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 15/15: Merge branch 'dev-8-select-box', Dany De Bontridder, 2021/01/25
- [Noalyss-commit] [noalyss] 13/15: Cosmetic fix : count_by_modele, Dany De Bontridder, 2021/01/25