@{ ViewBag.Title = "Services"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using ReportWeb.Models; @using SuperAdmin.Controllers; @using SuperCms.Extensions; @model List @functions{ void MsgTypeToText(string msgType) { if (msgType == "0") { SMS Text } else if (msgType == "1") { SMS Flash } else if (msgType == "200") { USSD Push } else if (msgType == "201") { USSD Flash } } void StatusToText(int status) { if (status == 0) { Inactive } else if (status == 1) { Active } }}

Services Adv

Search

  • @*
  • *@
  • @*
  • *@
@Html.AntiForgeryToken() @*
*@
@**@
@if (Model != null) { for (int i = 0; i < Model.Count; i++) { Services service = Model[@i]; } }
# Action Service Code Adv Name Message Channel Message Type From Money Status
@(i + 1) @if (service.status == 1) { } else { } @service.sv_name @service.adv_name @service.msg_adv @service.channel_adv @{MsgTypeToText(service.message_type);} @service.from_money @{StatusToText(service.status);}
@**@ @**@ @**@ @section Scripts { }