merge coupon and voucer menu

This commit is contained in:
iBNu Maksum 2025-01-07 16:16:38 +07:00
parent 1cbdf5a9b2
commit 5b7ffec115
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
3 changed files with 24 additions and 35 deletions

View File

@ -930,5 +930,18 @@
"Send_yours_balance___": "Send yours balance ? ", "Send_yours_balance___": "Send yours balance ? ",
"Cards": "Cards", "Cards": "Cards",
"CRM": "CRM", "CRM": "CRM",
"Coupons": "Coupons" "Coupons": "Coupons",
"Search_Coupons": "Search Coupons",
"Add_Coupon": "Add Coupon",
"Value": "Value",
"Max_Usage": "Max Usage",
"Usage_Count": "Usage Count",
"Min_Order": "Min Order",
"Max_Discount": "Max Discount",
"Updated_Date": "Updated Date",
"Action": "Action",
"No_coupons_found_": "No coupons found.",
"Delete_Selected": "Delete Selected",
"Voucher_Cards": "Voucher Cards",
"Create_Date": "Create Date"
} }

View File

@ -1254,7 +1254,7 @@
</ul> </ul>
</li> </li>
{$_MENU_AFTER_CUSTOMERS} {$_MENU_AFTER_CUSTOMERS}
<li class="{if $_system_menu eq 'plan'}active{/if} treeview"> <li class="{if $_routes[0] eq 'plan' || $_routes[0] eq 'coupons'}active{/if} treeview">
<a href="#"> <a href="#">
<i class="fa fa-ticket"></i> <span>{Lang::T('Services')}</span> <i class="fa fa-ticket"></i> <span>{Lang::T('Services')}</span>
<span class="pull-right-container"> <span class="pull-right-container">
@ -1268,6 +1268,14 @@
<li {if $_routes[1] eq 'refill' }class="active" {/if}><a <li {if $_routes[1] eq 'refill' }class="active" {/if}><a
href="{$_url}plan/refill">{Lang::T('Refill Customer')}</a></li> href="{$_url}plan/refill">{Lang::T('Refill Customer')}</a></li>
{/if} {/if}
{if $_c['disable_voucher'] != 'yes'}
<li {if $_routes[1] eq 'voucher' }class="active" {/if}><a
href="{$_url}plan/voucher">{Lang::T('Vouchers')}</a></li>
{/if}
{if $_c['disable_coupons'] != 'yes'}
<li {if $_routes[0] eq 'coupons' }class="active" {/if}><a
href="{$_url}coupons">{Lang::T('Coupons')}</a></li>
{/if}
<li {if $_routes[1] eq 'recharge' }class="active" {/if}><a <li {if $_routes[1] eq 'recharge' }class="active" {/if}><a
href="{$_url}plan/recharge">{Lang::T('Recharge Customer')}</a></li> href="{$_url}plan/recharge">{Lang::T('Recharge Customer')}</a></li>
{if $_c['enable_balance'] == 'yes'} {if $_c['enable_balance'] == 'yes'}
@ -1305,38 +1313,6 @@
</li> </li>
{/if} {/if}
{$_MENU_AFTER_PLANS} {$_MENU_AFTER_PLANS}
<li class="{if $_system_menu eq 'cards'}active{/if} treeview">
<a href="#">
<i class="glyphicon glyphicon-credit-card"></i> <span>{Lang::T('Cards')}</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
{if $_c['disable_voucher'] != 'yes'}
<li {if $_routes[1] eq 'voucher' }class="active" {/if}><a
href="{$_url}plan/voucher">{Lang::T('Vouchers')}</a></li>
{/if}
{$_MENU_CARDS}
</ul>
</li>
{$_MENU_AFTER_CRM}
<li class="{if $_system_menu eq 'crm'}active{/if} treeview">
<a href="#">
<i class="fa fa-users"></i> <span>{Lang::T('CRM')}</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
{if $_c['disable_coupons'] != 'yes'}
<li {if $_routes[0] eq 'coupons' }class="active" {/if}><a
href="{$_url}coupons">{Lang::T('Coupons')}</a></li>
{/if}
{$_MENU_CRM}
</ul>
</li>
{$_MENU_AFTER_CARDS}
<li class="{if $_system_menu eq 'reports'}active{/if} treeview"> <li class="{if $_system_menu eq 'reports'}active{/if} treeview">
{if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])}
<a href="#"> <a href="#">

View File

@ -1,3 +1,3 @@
{ {
"version": "2024.12.6.1" "version": "2025.1.7"
} }