improved warehouse module
This commit is contained in:
@@ -82,6 +82,7 @@ class TTCrud extends mfBaseController {
|
||||
"CREATE_URL" => $this::getUrl("{$this->mod}/create"),
|
||||
"TABLE_URL" => $this::getUrl("{$this->mod}/get"),
|
||||
"UPDATE_URL" => $this::getUrl("{$this->mod}/update"),
|
||||
"GET_BY_ID_URL" => $this::getUrl("{$this->mod}/getById"),
|
||||
"DELETE_URL" => $this::getUrl("{$this->mod}/delete"),
|
||||
"USER_ID" => $this->user->id
|
||||
];
|
||||
@@ -136,10 +137,11 @@ class TTCrud extends mfBaseController {
|
||||
}
|
||||
|
||||
return ['key' => $this->mod,
|
||||
'tableHeader' => $this->headerTitle,
|
||||
'createText' => $this->createText,
|
||||
'columns' => $columns,
|
||||
'additionalActions' => $this->additionalActions];
|
||||
'tableHeader' => $this->headerTitle,
|
||||
'reopenOnCreate' => $this->reopenOnCreate ?? false,
|
||||
'createText' => $this->createText,
|
||||
'columns' => $columns,
|
||||
'additionalActions' => $this->additionalActions];
|
||||
}
|
||||
|
||||
protected function getAction() {
|
||||
|
||||
Reference in New Issue
Block a user