feat: 레이아웃/출하/생산/회계/대시보드 전반 개선
- HeaderFavoritesBar 대폭 개선 - Sidebar/AuthenticatedLayout 소폭 수정 - ShipmentCreate, VehicleDispatch 출하 관련 개선 - WorkOrderCreate/Edit, WorkerScreen 생산 관련 개선 - InspectionCreate 자재 입고검사 개선 - DailyReport, VendorDetail 회계 수정 - CEO 대시보드: CardManagement/DailyProduction/DailyAttendance 섹션 개선 - useCEODashboard, expense transformer 정비 - DocumentViewer, PDF generate route 소폭 수정 - bill-prototype 개발 페이지 추가 - mockData 불필요 데이터 제거
This commit is contained in:
@@ -196,28 +196,36 @@ export function transformCardManagementResponse(
|
||||
id: 'cm1',
|
||||
label: '카드',
|
||||
amount: cardAmount,
|
||||
previousLabel: cardUnverified > 0 ? `미정리 ${cardUnverified}건` : undefined,
|
||||
subLabel: cardUnverified > 0 ? `미정리 ${cardUnverified}건` : undefined,
|
||||
subAmount: cardUnverified > 0 ? cardAmount : undefined,
|
||||
isHighlighted: cardUnverified > 0,
|
||||
},
|
||||
// cm2: 경조사
|
||||
{
|
||||
id: 'cm2',
|
||||
label: '경조사',
|
||||
amount: congratulatoryAmount,
|
||||
previousLabel: congratulatoryUnverified > 0 ? `미증빙 ${congratulatoryUnverified}건` : undefined,
|
||||
subLabel: congratulatoryUnverified > 0 ? `미증빙 ${congratulatoryUnverified}건` : undefined,
|
||||
subAmount: congratulatoryUnverified > 0 ? congratulatoryAmount : undefined,
|
||||
isHighlighted: congratulatoryUnverified > 0,
|
||||
},
|
||||
// cm3: 상품권
|
||||
{
|
||||
id: 'cm3',
|
||||
label: '상품권',
|
||||
amount: giftCertificateAmount,
|
||||
previousLabel: giftCertificateUnverified > 0 ? `미증빙 ${giftCertificateUnverified}건` : undefined,
|
||||
subLabel: giftCertificateUnverified > 0 ? `미증빙 ${giftCertificateUnverified}건` : undefined,
|
||||
subAmount: giftCertificateUnverified > 0 ? giftCertificateAmount : undefined,
|
||||
isHighlighted: giftCertificateUnverified > 0,
|
||||
},
|
||||
// cm4: 접대비
|
||||
{
|
||||
id: 'cm4',
|
||||
label: '접대비',
|
||||
amount: entertainmentAmount,
|
||||
previousLabel: entertainmentUnverified > 0 ? `미증빙 ${entertainmentUnverified}건` : undefined,
|
||||
subLabel: entertainmentUnverified > 0 ? `미증빙 ${entertainmentUnverified}건` : undefined,
|
||||
subAmount: entertainmentUnverified > 0 ? entertainmentAmount : undefined,
|
||||
isHighlighted: entertainmentUnverified > 0,
|
||||
},
|
||||
// cm_total: 총 가지급금 합계
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user