-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDialogUpdateItem.php
25 lines (25 loc) · 1.53 KB
/
DialogUpdateItem.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="modal fade" id="UpdateItem<?php echo $id ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title font-weight-bold" id="exampleModalLongTitle">Cập nhật sản phẩm</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" style="font-size: 30px;">×</span>
</button>
</div>
<div class="modal-body">
<form action="back/UpdateItemProcess.php"method="POST">
<div class="text-left" style="font-size: 20px;">
<label class="font-weight-bold" for="Quantity">Số lượng</label>
<input class="form-control" name="Quantity" type="number" min="0" max="100" value="<?php echo $row["Quantity"] ?>">
</div>
<input type="hidden" name="UserID" value="<?php echo $row["UserID"] ?>">
<div class="modal-footer">
<button type="button" class="btn btn-secondary font-weight-bold" data-dismiss="modal">Đóng</button>
<button name="submit" type="submit" class="btn btn-primary pl-4 pr-4 font-weight-bold">Cập nhật</button>
</div>
</form>
</div>
</div>
</div>
</div>