fix(coupons): remove duplicate business cols from coupons in PromoterDashboard and CouponsView

This commit is contained in:
2026-02-26 15:36:32 -05:00
parent 23f8438456
commit 10cb37c866
6 changed files with 15 additions and 28 deletions

View File

@ -163,7 +163,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="coupon-main">
<div class="coupon-details">
<h3>{{ userCoupon.coupon?.title || 'Cupón' }}</h3>
<p class="biz-name">{{ userCoupon.coupon?.business_name || 'Comercio' }}</p>
<p class="biz-name">{{ userCoupon.coupon?.business?.name || 'Comercio' }}</p>
<div class="code-row">
<span class="code">{{ userCoupon.redemption_code }}</span>
<span :class="['status-tag', userCoupon.status]">{{ getStatusLabel(userCoupon.status) }}</span>