@@ -168,7 +141,7 @@
'pageLength',
{
"extend": 'excelHtml5',
- title: "= $this->lang->line('Historique des subscriptions') ?>",
+ title: "= $this->lang->line('subscriptions_history') ?>",
// exportOptions: {
// columns: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
// },
@@ -176,7 +149,7 @@
for (var i = 0; i < data.body.length; i++) {
for (var j = 0; j < data.body[i].length; j++) {
// data.body[i][j] = '\u200C' + data.body[i][j];
- if ([3, 4, 5,].includes(j)) {
+ if ([6].includes(j)) {
// Get the value and strip the non numeric characters
// var value = $(this).text();
value = data.body[i][j].replace(',', ".")
@@ -190,15 +163,12 @@
},
{
extend: 'csvHtml5',
- title: "= $this->lang->line('Historique des subscriptions') ?>",
- exportOptions: {
- columns: [0, 1, 2, 3, 4, 5, 6, 7, 8]
- },
+ title: "= $this->lang->line('subscriptions_history') ?>",
customizeData: function (data) {
for (var i = 0; i < data.body.length; i++) {
for (var j = 0; j < data.body[i].length; j++) {
// data.body[i][j] = '\u200C' + data.body[i][j];
- if ([3, 4, 5, 10, 11, 12, 13, 14,15].includes(j)) {
+ if ([6].includes(j)) {
// Get the value and strip the non numeric characters
// var value = $(this).text();
value = data.body[i][j].replace(',', ".")
@@ -214,10 +184,7 @@
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'LEGAL',
- title: "= $this->lang->line('Historique des subscriptions') ?>",
- exportOptions: {
- columns: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
- },
+ title: "= $this->lang->line('Hsubscriptions_history') ?>",
trim: false,
"action": newexportaction
},
@@ -267,35 +234,3 @@
});
-
diff --git a/application/views/nano_health/hyper/validating_doctors.php b/application/views/nano_health/hyper/validating_agents.php
similarity index 86%
rename from application/views/nano_health/hyper/validating_doctors.php
rename to application/views/nano_health/hyper/validating_agents.php
index 1698f9c6..d04b0e06 100755
--- a/application/views/nano_health/hyper/validating_doctors.php
+++ b/application/views/nano_health/hyper/validating_agents.php
@@ -5,33 +5,8 @@
@@ -39,10 +14,10 @@
-
+
# |
@@ -56,8 +31,8 @@
result() as $i => $row) {
+ if(isset($agents)){
+ foreach ($agents->result() as $i => $row) {
$statut = $this->lang->line('Non confirmé');
if (isset($row->salt)) {
$statut = $this->lang->line("Confirmé");
@@ -93,10 +68,10 @@