fixed some price handling aswell as tt-autocomplete and tt-table excel export always showing

This commit is contained in:
2024-07-25 08:59:41 +02:00
parent 813b0b4524
commit e4427c9eac
8 changed files with 106 additions and 74 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class TTCrud extends mfBaseController {
$id = $this->model::create($this->postData);
if (method_exists($this, 'afterCreate')) {
$this->afterCreate($this->postData);
$this->afterCreate(array_merge($this->postData, ['id' => $id]));
}
self::returnJson(['success' => true,