changes
This commit is contained in:
@@ -3,7 +3,7 @@ const props = defineProps({
|
||||
cartItem: Object,
|
||||
deleteable: Boolean,
|
||||
});
|
||||
const { $deleteapi, $numtoString, $snackbar } = useNuxtApp();
|
||||
const { $deleteapi, $formatNum, $snackbar } = useNuxtApp();
|
||||
const { getCarts } = inject("pos");
|
||||
const showConfirmModal = ref();
|
||||
const isDeleting = ref(false);
|
||||
@@ -51,7 +51,7 @@ async function removeFromCart() {
|
||||
</div>
|
||||
</div>
|
||||
<p class="has-text-primary-50 font-medium">
|
||||
{{ $numtoString(cartItem.imei__variant__price, { hasUnit: true }) }}
|
||||
{{ $formatNum(cartItem.imei__variant__price, { hasUnit: true }) }}
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user