Update
This commit is contained in:
parent
0bf343b65d
commit
0d511921e8
@ -97,6 +97,10 @@
|
|||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
app.mount('#systemLogin');
|
app.mount('#systemLogin');
|
||||||
|
|
||||||
|
$('.closeModal').on('click', function () {
|
||||||
|
$('.modal').modal('hide');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
const app = Vue.createApp({
|
const app = Vue.createApp({
|
||||||
|
|||||||
@ -10,5 +10,24 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers.Admin
|
|||||||
{
|
{
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IActionResult ItemRegistration()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IActionResult ProductRegistration()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IActionResult SupplierRegistration()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
public IActionResult ManifacturerRegistration()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers
|
|||||||
[Area("Inventory")]
|
[Area("Inventory")]
|
||||||
|
|
||||||
//[Authorize(Policy = "RoleModulePolicy")]
|
//[Authorize(Policy = "RoleModulePolicy")]
|
||||||
public class ItemController : Controller
|
public class ItemMovementController : Controller
|
||||||
{
|
{
|
||||||
// GET: Inventory
|
// GET: Inventory
|
||||||
public ActionResult Index()
|
public ActionResult Index()
|
||||||
@ -15,15 +15,5 @@ namespace PSTW_CentralSystem.Areas.Inventory.Controllers
|
|||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IActionResult ItemRegistration()
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
|
|
||||||
public IActionResult ProductRegistration()
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -165,7 +165,23 @@
|
|||||||
"render": function (data, type, row, meta) {
|
"render": function (data, type, row, meta) {
|
||||||
if (data.length > 0) {
|
if (data.length > 0) {
|
||||||
return data;
|
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 = `
|
var thisCol = `
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
<meta name="description"
|
<meta name="description"
|
||||||
content="Matrix Admin Lite Free Version is powerful and clean admin dashboard template, inpired from Bootstrap Framework" />
|
content="Matrix Admin Lite Free Version is powerful and clean admin dashboard template, inpired from Bootstrap Framework" />
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
<title>Matrix Admin Lite Free Versions Template by WrapPixel</title>
|
<title>PSTW Centralize Web System</title>
|
||||||
<!-- Favicon icon -->
|
<!-- Favicon icon -->
|
||||||
<link rel="icon"
|
<link rel="icon"
|
||||||
type="image/png"
|
type="image/png"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user