[STYLE] 統一機台庫存概覽與庫存效期的商品 ID 與效期文字規格

This commit is contained in:
sky121113 2026-06-05 16:53:27 +08:00
parent d326697417
commit eab9b90b88
2 changed files with 5 additions and 11 deletions

View File

@ -776,17 +776,11 @@
<div>
<div class="text-base font-black text-slate-800 dark:text-slate-200"
x-text="slot.product?.name || '{{ __('Empty Slot') }}'"></div>
<div class="flex flex-wrap items-center gap-x-2.5 gap-y-1 mt-1">
<template x-if="slot.product?.id">
<template x-if="slot.product?.id">
<div class="mt-1">
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
</template>
<template x-if="slot.product?.id && slot.expiry_date">
<span class="text-xs text-slate-300 dark:text-slate-700">|</span>
</template>
<span class="text-sm font-bold text-slate-400 uppercase tracking-widest"
x-text="slot.expiry_date ? '{{ __('Expiry') }}: ' + slot.expiry_date : ''">
</span>
</div>
</div>
</template>
</div>
</div>
</td>

View File

@ -373,7 +373,7 @@
<template x-if="slot.product?.id && slot.expiry_date">
<span class="text-xs text-slate-300 dark:text-slate-700">|</span>
</template>
<span class="text-sm font-bold text-slate-400 uppercase tracking-widest"
<span class="text-xs font-bold text-slate-400 uppercase tracking-widest"
x-text="slot.expiry_date ? '{{ __('Expiry') }}: ' + slot.expiry_date : ''">
</span>
</div>