Minor bug fixes & Rome CI

This commit is contained in:
Patrick Fic
2024-04-01 14:42:05 -07:00
parent 72aece7f14
commit 3683bc161d
5 changed files with 162 additions and 103 deletions

View File

@@ -60,8 +60,8 @@ export function TimeTicketModalComponent({
{item.cost_center === "timetickets.labels.shift"
? t(item.cost_center)
: bodyshop.cdk_dealerid || bodyshop.pbs_serialnumber || Enhanced_Payroll.treatment === "on"
? t(`joblines.fields.lbr_types.${item.cost_center.toUpperCase()}`)
: item.cost_center}
? t(`joblines.fields.lbr_types.${item.cost_center.toUpperCase()}`)
: item.cost_center}
</Select.Option>
))}
</Select>
@@ -215,14 +215,6 @@ export function TimeTicketModalComponent({
>
<InputNumber precision={1} />
</Form.Item>
{
// <TimeTicketCalculatorComponent
// jobid={form.getFieldValue("jobid")}
// setProductiveHours={(productivehrs) =>
// form.setFieldsValue({productivehrs})
// }
// />
}
</>
)}
</Form.Item>