feat(accounting): 優化會計報表與公共事業費 UI,並統一全域日期處理格式
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 || "",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user