Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
mapqa
/
Views
/
Trader
/
Edit File Name :
_salestranscation.cshtml
@*@{ ViewBag.Title = "_salestranscation"; Layout = "~/Views/Shared/_Layout.cshtml"; }*@ @using PagedList.Mvc; @using RER_Project.Core.Helpers @using RER_Project.BusinessLayer.BusinessService; @{ var meta = AppUserService.GetCurrent(); var traderid = ViewBag.traderid; } @model PagedList.IPagedList<RER_Project.DataAccess.Functions.Fn_get_trader_transcation> @if (Model.Count > 0) { <div class="table table-responsive table-striped table-hover table-bordered"> <table class="table table-striped" id="userListTable"> <thead> <tr> <th style="white-space:nowrap;">SN</th> <th style="white-space:nowrap;">Fiscal Year</th> <th style="white-space:nowrap;">Commodity Name</th> <th style="white-space:nowrap;">Product Name</th> <th style="white-space:nowrap;">IFF Name</th> <th style="white-space:nowrap;">Farmer Name</th> <th style="white-space:nowrap;">Sales Qty</th> <th style="white-space:nowrap;">Sales Amount</th> <th style="white-space:nowrap;">Sales Invoice Number</th> <th style="white-space:nowrap;"> Invoice Receive By</th> <th style="white-space: nowrap;">Action</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td style="white-space:nowrap;">@item.serial_number</td> <td style="white-space:nowrap;">@item.fiscal_year_name</td> <td style="white-space:nowrap;">@item.commodity_type_name</td> <td style="white-space:nowrap;">@item.category_name</td> <td style="white-space:nowrap;">@item.group_name</td> <td style="white-space:nowrap;">@item.full_name</td> <td style="white-space:nowrap;"> @item.sales_qty </td> <td style="white-space:nowrap;">@item.sales_amount</td> <td style="white-space:nowrap;">@item.sales_invoice_number</td> <td style="white-space:nowrap;">@item.invoice_receive_by</td> <td style="white-space:nowrap;"> <center> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin || meta.RoleId == (int)EnumRoleHelper.Roles.SupplyChainSupervisor || meta.RoleId == (int)EnumRoleHelper.Roles.MnE) { <a class="btn btn-default btn-xs" href="@("/editsales/Transcation/" + item.id + "/" +traderid)" style="color:dodgerblue" title="Edit"><i class="fa fa-edit"></i></a> <a class="btn btn-default btn-xs" style="color:dodgerblue" title="Delete" onclick="deleteItem(@item.id)"><i class="fa fa-trash"></i></a> } </center> </td> </tr> } </tbody> </table> <div id="myPager" align="center"> @if (Model.Count > 0) { @Html.PagedListPager(Model, page => Url.Action("SalesTranscation", new { traderId = @traderid, page, name = ViewBag.Name, fyId = ViewBag.fyId, provinceId = ViewBag.provinceId, districtId = ViewBag.districtId, municipalityId = ViewBag.municipalityId }), PagedListRenderOptions.ClassicPlusFirstAndLast) } </div> @*<div style="text-align: right;"> <a href="/trader/index" class="btn btn-primary" id="back">Back</a> </div>*@ </div> } else { <div><center>No Data</center></div> }
Save