[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/34: Bug Fiche Option
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 09/34: Bug Fiche Option |
Date: |
Wed, 17 Jan 2024 12:54:06 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 67b5ae90d0dcc9253088ac2155b36f8b44d81555
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Jan 12 17:54:46 2024 +0100
Bug Fiche Option
---
include/class/follow_up_other_concerned.class.php | 3 ++-
include/export/export_follow_up_contact_csv.php | 13 +++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/include/class/follow_up_other_concerned.class.php
b/include/class/follow_up_other_concerned.class.php
index d1ba3aea9..1c4a28c47 100644
--- a/include/class/follow_up_other_concerned.class.php
+++ b/include/class/follow_up_other_concerned.class.php
@@ -190,7 +190,8 @@ EOF;
where
apo2.contact_option_ref_id =$1
and ap.f_id=$2
- ", array($pa_Column[$i]['cor_id'], $p_fid));
+ and ap.ag_id=$3
+ ", array($pa_Column[$i]['cor_id'], $p_fid,
$this->ag_id));
$r.=td($value);
}
$r.='<td>'.$remove.'</td>';
diff --git a/include/export/export_follow_up_contact_csv.php
b/include/export/export_follow_up_contact_csv.php
index ebd929fda..5b1251962 100644
--- a/include/export/export_follow_up_contact_csv.php
+++ b/include/export/export_follow_up_contact_csv.php
@@ -44,7 +44,7 @@ join fiche_detail f on (a.f_id=f.f_id)
join fiche_def fd on (fd.fd_id=f1.fd_id)
join jnt_fic_attr jfa on (fd.fd_id=jfa.fd_id and jfa.ad_id=f.ad_id)
where ag_id=$1
-order by f1.fd_id, a.f_id,jnt_order;;",[$ag_id]);
+order by f1.fd_id, a.f_id,jnt_order",[$ag_id]);
$nb=count($aRow);
$lastcat=0;$lastcard=0;
@@ -105,5 +105,14 @@ where ag_id=$1 and f_id=$2 order by
cor_id",array($ag_id,$lastcard));
$csv->add($aRow[$i]['ad_value']);
}
-
+$aOption=$cn->get_array(" select ap_value
+from
+action_person a
+join action_person_option apo on (a.ap_id=apo.action_person_id)
+join contact_option_ref cor on (cor.cor_id=apo.contact_option_ref_id)
+where ag_id=$1 and f_id=$2 order by cor_id",array($ag_id,$lastcard));
+$nb_option=count($aOption);
+for ($h=0;$h < $nb_option;$h++) {
+ $csv->add($aOption[$h]['ap_value']);
+}
$csv->write();
\ No newline at end of file
- [Noalyss-commit] [noalyss] 17/34: Get empty upgrade.sql, (continued)
- [Noalyss-commit] [noalyss] 17/34: Get empty upgrade.sql, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 01/34: FIX : when taken from git NOALYSS_VERSION is undefined, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 18/34: Bug #0002322: Impression Suivi, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 08/34: OPTION_CARD : Correct options for FollowUp, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 16/34: Task 2128 : Ouverture et cloture toujours visible, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 20/34: Merge branch 'devel-andromeda' into devel, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 28/34: Task 0002128: Clôture comptabilité française Réécriture op. ouverture et cloture, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 30/34: Get empty upgrade.sql, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 31/34: PRINT properly action, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 33/34: Task #2323 : follow-up correct depending action + cosmetic, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 09/34: Bug Fiche Option,
dwm <=
- [Noalyss-commit] [noalyss] 12/34: Task 0002128: Clôture comptabilité française, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 15/34: Adaptation PHPUNIT, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 03/34: Improve DBG , add stopwatch : timer_start and timer_show, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 10/34: PHP8.1 compatibility, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 14/34: Task 0002128: Clôture comptabilité française Réécriture op. ouverture et cloture, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 22/34: OPTION_CARD : Correct options for FollowUp, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 24/34: PHP8.1 compatibility, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 25/34: Task 0002128: Clôture comptabilité française, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 26/34: Task 0002128: Clôture comptabilité française, dwm, 2024/01/17
- [Noalyss-commit] [noalyss] 27/34: Acc OD : cosmetic, dwm, 2024/01/17