This commit is contained in:
MOHD ARIFF 2025-01-07 10:16:22 +08:00
parent 0bf343b65d
commit 0d511921e8
9 changed files with 42 additions and 13 deletions

View File

@ -97,6 +97,10 @@
$(function () {
app.mount('#systemLogin');
$('.closeModal').on('click', function () {
$('.modal').modal('hide');
});
});
const app = Vue.createApp({

View File

@ -10,5 +10,24 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers.Admin
{
return View();
}
public IActionResult ItemRegistration()
{
return View();
}
public IActionResult ProductRegistration()
{
return View();
}
public IActionResult SupplierRegistration()
{
return View();
}
public IActionResult ManifacturerRegistration()
{
return View();
}
}
}

View File

@ -7,7 +7,7 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers
[Area("Inventory")]
//[Authorize(Policy = "RoleModulePolicy")]
public class ItemController : Controller
public class ItemMovementController : Controller
{
// GET: Inventory
public ActionResult Index()
@ -15,15 +15,5 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers
return View();
}
public IActionResult ItemRegistration()
{
return View();
}
public IActionResult ProductRegistration()
{
return View();
}
}
}

View File

@ -165,7 +165,23 @@
"render": function (data, type, row, meta) {
if (data.length > 0) {
return data;
} else {
}
else if(row.company == null && row.department == null) {
var thisCol = `
<div class="row">
<div class="col-md-6">
<select class="form-select role-select" data-id="${row.id}" disabled>
<option value="" selected disabled>Select Role</option>
${self.roleList && self.roleList.map(role => `<option value="${role.name}">${role.name}</option>`).join('')}
</select>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-primary update-btn" data-id="${row.id}" disabled>Update</button>
</div>
</div>`
return thisCol;
}
else {
var thisCol = `
<div class="row">
<div class="col-md-6">

View File

@ -16,7 +16,7 @@
<meta name="description"
content="Matrix Admin Lite Free Version is powerful and clean admin dashboard template, inpired from Bootstrap Framework" />
<meta name="robots" content="noindex,nofollow" />
<title>Matrix Admin Lite Free Versions Template by WrapPixel</title>
<title>PSTW Centralize Web System</title>
<!-- Favicon icon -->
<link rel="icon"
type="image/png"