This commit is contained in:
@@ -38,6 +38,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@if (Model.Items.Count == 0)
|
||||||
|
{
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
@await Html.PartialAsync("_EmptyState", "검색 결과가 없습니다.")
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-vcenter card-table table-hover">
|
<table class="table table-vcenter card-table table-hover">
|
||||||
@@ -52,17 +62,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@if (Model.Items.Count == 0)
|
@foreach (var item in Model.Items)
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<td colspan="6">
|
|
||||||
@await Html.PartialAsync("_EmptyState", "검색 결과가 없습니다.")
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
foreach (var item in Model.Items)
|
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fw-semibold">@item.Name</td>
|
<td class="fw-semibold">@item.Name</td>
|
||||||
@@ -78,11 +78,11 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
@await Html.PartialAsync("_Pagination", new TaxBaik.Web.Pages.Shared.PaginationModel(Model.CurrentPage, Model.TotalPages, Model.BuildPageUrl))
|
@await Html.PartialAsync("_Pagination", new TaxBaik.Web.Pages.Shared.PaginationModel(Model.CurrentPage, Model.TotalPages, Model.BuildPageUrl))
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -4,6 +4,16 @@
|
|||||||
|
|
||||||
<section class="admin-page-shell">
|
<section class="admin-page-shell">
|
||||||
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("CRM", "회사 관리", "고객사 회사를 관리합니다.", null, null))
|
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("CRM", "회사 관리", "고객사 회사를 관리합니다.", null, null))
|
||||||
|
@if (Model.Items.Count == 0)
|
||||||
|
{
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
@await Html.PartialAsync("_EmptyState", "회사가 없습니다.")
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-vcenter card-table">
|
<table class="table table-vcenter card-table">
|
||||||
@@ -11,13 +21,7 @@
|
|||||||
<tr><th>코드</th><th>회사명</th><th>담당자</th><th>활성</th></tr>
|
<tr><th>코드</th><th>회사명</th><th>담당자</th><th>활성</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@if (Model.Items.Count == 0)
|
@foreach (var item in Model.Items)
|
||||||
{
|
|
||||||
<tr><td colspan="4">@await Html.PartialAsync("_EmptyState", "회사가 없습니다.")</td></tr>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
foreach (var item in Model.Items)
|
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@item.CompanyCode</td>
|
<td>@item.CompanyCode</td>
|
||||||
@@ -26,11 +30,11 @@
|
|||||||
<td>@await Html.PartialAsync("_StatusBadge", item.IsActive ? "active" : "inactive")</td>
|
<td>@await Html.PartialAsync("_StatusBadge", item.IsActive ? "active" : "inactive")</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,16 @@
|
|||||||
|
|
||||||
<section class="admin-page-shell">
|
<section class="admin-page-shell">
|
||||||
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("Tax", "세무 프로필 관리", "고객별 세무 속성을 관리합니다.", null, null))
|
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("Tax", "세무 프로필 관리", "고객별 세무 속성을 관리합니다.", null, null))
|
||||||
|
@if (Model.Items.Count == 0)
|
||||||
|
{
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
@await Html.PartialAsync("_EmptyState", "세무 프로필이 없습니다.")
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-vcenter card-table">
|
<table class="table table-vcenter card-table">
|
||||||
@@ -11,13 +21,7 @@
|
|||||||
<tr><th>고객ID</th><th>사업유형</th><th>세무위험</th><th>다음신고일</th></tr>
|
<tr><th>고객ID</th><th>사업유형</th><th>세무위험</th><th>다음신고일</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@if (Model.Items.Count == 0)
|
@foreach (var item in Model.Items)
|
||||||
{
|
|
||||||
<tr><td colspan="4">@await Html.PartialAsync("_EmptyState", "세무 프로필이 없습니다.")</td></tr>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
foreach (var item in Model.Items)
|
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@item.ClientId</td>
|
<td>@item.ClientId</td>
|
||||||
@@ -26,11 +30,11 @@
|
|||||||
<td>@item.NextFilingDueDate?.ToString("yyyy-MM-dd")</td>
|
<td>@item.NextFilingDueDate?.ToString("yyyy-MM-dd")</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user