[STYLE] 簡化庫存概覽與庫存效期的商品 ID 標記為 ID
This commit is contained in:
parent
eab9b90b88
commit
66416b14ed
@ -699,7 +699,7 @@
|
||||
<div class="text-base font-black truncate w-full opacity-90 tracking-tight"
|
||||
x-text="slot.product.name"></div>
|
||||
<template x-if="slot.product.id">
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
@ -778,7 +778,7 @@
|
||||
x-text="slot.product?.name || '{{ __('Empty Slot') }}'"></div>
|
||||
<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>
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">{{ __('ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
@ -832,7 +832,7 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-x-2 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<span class="text-[10px] text-slate-300 dark:text-slate-700">|</span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest truncate" x-text="slot.product?.barcode || '--'"></span>
|
||||
|
||||
@ -310,7 +310,7 @@
|
||||
<div class="text-base font-black truncate w-full opacity-90 tracking-tight"
|
||||
x-text="slot.product?.name || '{{ __('Empty') }}'"></div>
|
||||
<template x-if="slot.product?.id">
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
<div class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest mt-1">{{ __('ID') }}: <span x-text="slot.product.id"></span></div>
|
||||
</template>
|
||||
<div class="flex items-baseline justify-center gap-1 mt-2">
|
||||
<span class="text-2xl font-black tracking-tighter" x-text="slot.stock"></span>
|
||||
@ -368,7 +368,7 @@
|
||||
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">
|
||||
<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>
|
||||
<span class="text-xs font-bold text-slate-400 dark:text-slate-500 font-mono tracking-widest uppercase">{{ __('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>
|
||||
@ -426,7 +426,7 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-x-2 mt-1">
|
||||
<template x-if="slot.product?.id">
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('Product ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest">{{ __('ID') }}: <span x-text="slot.product.id"></span></span>
|
||||
</template>
|
||||
<span class="text-[10px] text-slate-300 dark:text-slate-700">|</span>
|
||||
<span class="text-[10px] font-mono font-bold text-slate-400 dark:text-slate-500 uppercase tracking-widest truncate" x-text="slot.product?.barcode || '--'"></span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user