Allow mixed-company cart, add delete confirmations, and fix profile settings routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -36,7 +36,9 @@ const emit = defineEmits<{
|
||||
</header>
|
||||
|
||||
<div v-if="!isEmpty" class="cart-mobile-page__body">
|
||||
<p class="cart-mobile-page__company">شرکت : {{ companyName }}</p>
|
||||
<p class="cart-mobile-page__company">
|
||||
{{ companyName ? `شرکتها: ${companyName}` : 'سبد خرید مشترک' }}
|
||||
</p>
|
||||
|
||||
<div class="cart-mobile-page__scroll">
|
||||
<div class="cart-mobile-table">
|
||||
@@ -49,6 +51,7 @@ const emit = defineEmits<{
|
||||
<div class="col-product">
|
||||
<strong>{{ item.productName }}</strong>
|
||||
<span>کد: {{ item.productCode }}</span>
|
||||
<span v-if="item.companyName" class="col-product__company">{{ item.companyName }}</span>
|
||||
</div>
|
||||
<div class="col-meterage">{{ formatNumber(item.meterage) }}</div>
|
||||
<div class="col-delete">
|
||||
@@ -181,10 +184,17 @@ const emit = defineEmits<{
|
||||
}
|
||||
|
||||
.col-product span {
|
||||
display: block;
|
||||
font-size: 0.75rem;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.col-product__company {
|
||||
margin-top: 2px;
|
||||
color: var(--color-primary) !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.col-meterage {
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
|
||||
Reference in New Issue
Block a user