????
Current Path : C:/inetpub/vhost/lantha.gdtsolutions.vn/apitest/template/html/BaoCaoLoiNhuanChiTiet/ |
Current File : C:/inetpub/vhost/lantha.gdtsolutions.vn/apitest/template/html/BaoCaoLoiNhuanChiTiet/detail.cshtml |
@*@model ApiGDTVietnam.DataProvider.EF.ReportDanhSachDiemKinhDoanh*@ <table class="DetailTable" id="detail" border="1" cellspacing="0" cellpadding="2"> <tbody> <tr> <th excel-colspan="2" colspan="2" align="center"><b> Ngày tạo đơn</b> </th> <th excel-colspan="1" colspan="1" align="center"> <b>Mã đơn hàng</b></th> <th excel-colspan="2" colspan="2" align="center"><b>Tiền hàng</b></th> <th excel-colspan="2" colspan="2" align="center"><b>Giảm giá </b></th> <th excel-colspan="2" colspan="2" align="center"><b>Doanh thu</b></th> <th excel-colspan="2" colspan="2" align="center"><b>Tổng giá vốn</b></th> <th excel-colspan="2" colspan="2" align="center"><b>Lợi nhuận gộp</b></th> </tr> @foreach (var item in Model.loiNhuanDiemKinhDoanhs) { <tr> <td excel-colspan="7" colspan="3"><b> SL Phiếu: @item.SoLuongPhieu </b></td> <th excel-colspan="2" colspan="2" align="right"><b>@item.FormatTongTienHangDiem</b></th> <th excel-colspan="2" colspan="2" align="right"><b>@item.FormatTongGiamGiaDiem </b></th> <th excel-colspan="2" colspan="2" align="right"><b>@item.FormatTongDoanhThuDiem</b></th> <th excel-colspan="2" colspan="2" align="right"><b>@item.FormatTongGiaVonDiem</b></th> <th excel-colspan="2" colspan="2" align="right"><b>@item.FormatTongLoiNhuanGopDiem</b></th> </tr> foreach (var item2 in item.listLoiNhuan) { <tr> <td excel-colspan="2" colspan="2" style="text-align:center">@item2.NgayTao</td> <td excel-colspan="1" colspan="1" style="text-align:center">@item2.MaPhieu</td> <td excel-colspan="2" colspan="2" style="text-align:right">@item2.FormatTongTienHang</td> <td excel-colspan="2" colspan="2" style="text-align:right">@item2.FormatTongGiamGia</td> <td excel-colspan="2" colspan="2" style="text-align:right">@item2.FormatTongDoanhThu</td> <td excel-colspan="2" colspan="2" style="text-align:right">@item2.FormatTongGiaVon</td> <td excel-colspan="2" colspan="2" style="text-align:right">@item2.FormatTongLoiNhuanGop</td> </tr> } } </tbody> </table>