feat(accounting): 優化會計報表與公共事業費 UI,並統一全域日期處理格式
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m7s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-20 17:45:38 +08:00
parent 89183ca124
commit 9a50bbf887
9 changed files with 251 additions and 120 deletions

View File

@@ -71,7 +71,7 @@ export default function ProductTable({
<>
<div className="bg-white rounded-lg shadow-sm border">
<Table>
<TableHeader>
<TableHeader className="bg-gray-50">
<TableRow>
<TableHead className="w-[50px] text-center">#</TableHead>
<TableHead>

View File

@@ -68,7 +68,7 @@ export default function UtilityFeeDialog({
clearErrors();
if (fee) {
setData({
transaction_date: fee.transaction_date.split("T")[0].split(" ")[0],
transaction_date: fee.transaction_date,
category: fee.category,
amount: fee.amount.toString(),
invoice_number: fee.invoice_number || "",

View File

@@ -57,7 +57,7 @@ export default function VendorTable({
return (
<div className="bg-white rounded-lg shadow-sm border">
<Table>
<TableHeader>
<TableHeader className="bg-gray-50">
<TableRow>
<TableHead className="w-[50px] text-center">#</TableHead>
<TableHead>