modified it for multiple organisations
This commit is contained in:
@@ -81,9 +81,12 @@
|
||||
</div>
|
||||
<div class="muted-label mb-2">Sent Messages (last 10 days)</div>
|
||||
<!-- <div class="h3 mb-2">183,372</div> -->
|
||||
<div class="h5 mb-2 pt-1" id="smsUnitsCharge">SMS Charge(MWK) : <b>{{ $split_sms_units_arr['charge_computation'] }}</b></div>
|
||||
<div class="h5 mb-2 pt-1" id="smsUnitsCharge">SMS Charge(<?php echo (session('current_user.ucm_org_id') == 629)? "MWK" : "MZM"; ?>) : <b>{{ $split_sms_units_arr['charge_computation'] }}</b></div>
|
||||
@if(session('current_user.ucm_org_id') == 629)
|
||||
<div class="h5 mb-2 pt-1" id="smsUnitsValue">SMS Units : Airtel : <b>{{ number_format($split_sms_units_arr['Airtel SMSUnits']) }}</b> | TNM : <b>{{ number_format($split_sms_units_arr['TNM SMSUnits']) }}</b></div>
|
||||
|
||||
@else
|
||||
<div class="h5 mb-2 pt-1" id="smsUnitsValue">SMS Units : <b>{{ number_format($split_sms_units_arr['units_computation']) }}</div>
|
||||
@endif
|
||||
<div class="mini-chart"><span style="width: 57%;"></span></div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user