navigating to Order after saving journal
This commit is contained in:
@@ -323,6 +323,13 @@
|
||||
<form method="post" action="<?=self::getUrl("OrderJournal", "save")?>">
|
||||
<input type="hidden" name="order_id" value="<?=$order->id?>" />
|
||||
<input type="hidden" name="s" value="<?=$pagination['start']?>" />
|
||||
<?php if($showSpecial): ?>
|
||||
<input type="hidden" name="specialProductsOnly" value="1" />
|
||||
<?php elseif($showVoice): ?>
|
||||
<input type="hidden" name="voiceProductsOnly" value="1" />
|
||||
<?php elseif($showLonelies): ?>
|
||||
<input type="hidden" name="noTermProducts" value="1" />
|
||||
<?php endif; ?>
|
||||
<?php if(is_array($filter) && count($filter)) foreach($filter as $n => $v): ?>
|
||||
<input type="hidden" name="filter[<?=$n?>]" value="<?=$v?>" />
|
||||
<?php endforeach; ?>
|
||||
|
||||
@@ -49,6 +49,16 @@ class OrderJournalController extends mfBaseController {
|
||||
if (is_array($this->request->filter)) {
|
||||
$query["filter"] = $this->request->filter;
|
||||
}
|
||||
if($this->request->voiceProductsOnly) {
|
||||
$query['voiceProductsOnly'] = 1;
|
||||
}
|
||||
if($this->request->specialProductsOnly) {
|
||||
$query['specialProductsOnly'] = 1;
|
||||
}
|
||||
if($this->request->noTermProducts) {
|
||||
$query['noTermProducts'] = 1;
|
||||
}
|
||||
|
||||
$qs = http_build_query($query);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user