keeping filter and pagination when saving OrderJournal
This commit is contained in:
@@ -85,10 +85,8 @@ class PatchingController extends mfBaseController {
|
||||
}
|
||||
}
|
||||
|
||||
//var_dump($pagination);exit;
|
||||
//$this->layout()->set("terminations", $terms);
|
||||
$this->layout()->set("pagination", $pagination);
|
||||
//var_dump($pagination);exit;
|
||||
$terminations = [];
|
||||
foreach($terms as $term) {
|
||||
$term->order = OrderModel::getFirst(["termination_id" => $term->id]);
|
||||
@@ -179,7 +177,6 @@ class PatchingController extends mfBaseController {
|
||||
$mode = "add";
|
||||
$patch_data["termination_id"] = $term_id;
|
||||
}
|
||||
//var_dump($mode, $patch_data);exit;
|
||||
|
||||
if($mode == "add") {
|
||||
$patch_data['create_by'] = 1;
|
||||
|
||||
Reference in New Issue
Block a user