chenge _post to _get
This commit is contained in:
parent
594fab1151
commit
b7fce955ac
@ -673,10 +673,10 @@ switch ($action) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
run_hook('list_customers'); #HOOK
|
run_hook('list_customers'); #HOOK
|
||||||
$search = _post('search');
|
$search = _req('search');
|
||||||
$order = _post('order', 'username');
|
$order = _req('order', 'username');
|
||||||
$filter = _post('filter', 'Active');
|
$filter = _req('filter', 'Active');
|
||||||
$orderby = _post('orderby', 'asc');
|
$orderby = _req('orderby', 'asc');
|
||||||
$order_pos = [
|
$order_pos = [
|
||||||
'username' => 0,
|
'username' => 0,
|
||||||
'created_at' => 8,
|
'created_at' => 8,
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<li>{Lang::dateFormat($start_date)}</li>
|
<li>{Lang::dateFormat($start_date)}</li>
|
||||||
<li>{Lang::dateFormat($current_date)}</li>
|
<li>{Lang::dateFormat($current_date)}</li>
|
||||||
{if $_c['enable_balance'] == 'yes' && in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])}
|
{if $_c['enable_balance'] == 'yes' && in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])}
|
||||||
<li>
|
<li onclick="window.location.href = '{$_url}customers&search=&order=balance&filter=Active&orderby=desc'" style="cursor: pointer;">
|
||||||
{Lang::T('Customer Balance')} <sup>{$_c['currency_code']}</sup>
|
{Lang::T('Customer Balance')} <sup>{$_c['currency_code']}</sup>
|
||||||
<b>{number_format($cb,0,$_c['dec_point'],$_c['thousands_sep'])}</b>
|
<b>{number_format($cb,0,$_c['dec_point'],$_c['thousands_sep'])}</b>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user