@{ ViewBag.Title = "Services"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using ReportWeb.Models; @using ReportWeb.Source; @using SuperCms.Extensions; @model List @{ 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 } } } @{ int? codeType = ViewBag.codeType; }

Services Advertise Counter @(codeType == LuckyCardUtils.CodeType.LUCKY_CALL ? " CALL" : " CARD")

Search

  • @*
  • *@
  • @*
  • *@
@Html.AntiForgeryToken()
@if (Model != null) { for (int i = 0; i < Model.Count; i++) { SvAdv adv = Model[@i]; } }
# Report Date Service Target Percent Count CDR Start Time End Time
@(i + 1) @adv.report_date.ToString("dd/MM/yyyy") @(adv.schedule_detail_id == 0 ? "LUCKY_CARD" : adv.sv_code == null || adv.sv_code == "" ? "UNKNOWN" : adv.sv_code) @(adv.sv_code == null || adv.sv_code == "" ? "Remain" : adv.percent+"%") @(adv.counter) @adv.start_time.ToString("dd/MM/yyyy HH:mm:ss") @adv.end_time.ToString("dd/MM/yyyy HH:mm:ss")
@section Scripts { }