mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fix: no transactions placeholder
This commit is contained in:
@@ -281,6 +281,19 @@
|
|||||||
margin-bottom: var(--margin-sm);
|
margin-bottom: var(--margin-sm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .customer-transactions {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
> .no-transactions-placeholder {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: var(--gray-50);
|
||||||
|
border-radius: var(--border-radius-md);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .cart-container {
|
> .cart-container {
|
||||||
@@ -900,7 +913,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: var(--margin-sm);
|
margin-top: var(--margin-md);
|
||||||
margin-bottom: var(--margin-xs);
|
margin-bottom: var(--margin-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1022,7 +1035,7 @@
|
|||||||
> .taxes-wrapper {
|
> .taxes-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// padding: var(--padding-sm) var(--padding-md);
|
padding: 0px var(--padding-md);
|
||||||
// border-bottom: 1px solid var(--gray-300);
|
// border-bottom: 1px solid var(--gray-300);
|
||||||
|
|
||||||
> .tax-row {
|
> .tax-row {
|
||||||
|
|||||||
@@ -914,7 +914,7 @@ erpnext.PointOfSale.ItemCart = class {
|
|||||||
|
|
||||||
if (!res.length) {
|
if (!res.length) {
|
||||||
transaction_container.html(
|
transaction_container.html(
|
||||||
`<div class="text-center">No recent transactions found</div>`
|
`<div class="no-transactions-placeholder">No recent transactions found</div>`
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
@@ -951,7 +951,7 @@ erpnext.PointOfSale.ItemCart = class {
|
|||||||
<div class="seperator"></div>`
|
<div class="seperator"></div>`
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
load_invoice() {
|
load_invoice() {
|
||||||
|
|||||||
Reference in New Issue
Block a user