Export données : no data erreur
This commit is contained in:
parent
6e0ef64f69
commit
06d9d055b4
@ -163,6 +163,11 @@ class form extends common {
|
|||||||
'redirect' => helper::baseUrl() . $this->getUrl(0) .'/data',
|
'redirect' => helper::baseUrl() . $this->getUrl(0) .'/data',
|
||||||
'state' => true
|
'state' => true
|
||||||
]);
|
]);
|
||||||
|
} else {
|
||||||
|
$this->addOutput([
|
||||||
|
'notification' => 'Aucune donnée à exporter',
|
||||||
|
'redirect' => helper::baseUrl() . $this->getUrl(0) .'/data'
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user