Finalize the backend for each coupon, customer and access functionalities

This commit is contained in:
dwindown
2025-09-24 21:46:03 +07:00
parent 4151ea3b9e
commit 6f6b039441
6 changed files with 70 additions and 138 deletions

View File

@@ -20,20 +20,23 @@ a#add-new-coupon:hover {
border: 1px solid #b7b7b7!important;
}
td.gridjs-td[data-column-id=productRelation] > span {
td.gridjs-td[data-column-id=amount] > span {
display: flex;
gap: .5em;
flex-wrap: wrap;
justify-content: center;
}
.product_related {
background-color: #dedede;
padding: 5px 7px;
td.gridjs-td[data-column-id=amount] > span > span {
display: flex;
gap: .5em;
align-items: center;
background-color: #f8f8f8;
padding: 3px 5px;
border-radius: 5px;
}
span.product_related img {
margin-bottom: -3px;
box-shadow: 0 3px 5px #ccc;
}
th.gridjs-th[data-column-id=id],
th.gridjs-th[data-column-id=amount],
th.gridjs-th[data-column-id=usages],
th.gridjs-th[data-column-id=type],
th.gridjs-th[data-column-id=dateLimit],
@@ -41,17 +44,13 @@ th.gridjs-th[data-column-id=status] {
text-align: center;
}
td.gridjs-td[data-column-id=id],
td.gridjs-td[data-column-id=amount],
td.gridjs-td[data-column-id=usages],
td.gridjs-td[data-column-id=type],
td.gridjs-td[data-column-id=dateLimit] {
text-align: center;
}
th.gridjs-th[data-column-id=amount],
td.gridjs-td[data-column-id=amount] {
text-align: right;
}
span:has(.status-label) {
width: 100%;
display: block;