129 lines
4.4 KiB
JavaScript
129 lines
4.4 KiB
JavaScript
import { Form, Select } from "antd";
|
|
import React from "react";
|
|
import { useTranslation } from "react-i18next";
|
|
import CurrencyInput from "../form-items-formatted/currency-form-item.component";
|
|
import FormRow from "../layout-form-row/layout-form-row.component";
|
|
import JobsDetailRatesChangeButton from "../jobs-detail-rates-change-button/jobs-detail-rates-change-button.component";
|
|
|
|
export default function JobsDetailRates({ job, form }) {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<div>
|
|
<FormRow>
|
|
<Form.Item label={t("jobs.fields.class")} name="class">
|
|
<Select disabled={true} />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.depreciation_taxes")}
|
|
name="depreciation_taxes"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.other_amount_payable")}
|
|
name="other_amount_payable"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.towing_payable")}
|
|
name="towing_payable"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.storage_payable")}
|
|
name="storage_payable"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.federal_tax_payable")}
|
|
name="federal_tax_payable"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item
|
|
label={t("jobs.fields.adjustment_bottom_line")}
|
|
name="adjustment_bottom_line"
|
|
>
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
</FormRow>
|
|
<JobsDetailRatesChangeButton form={form} />
|
|
<FormRow header={t("jobs.forms.laborrates")}>
|
|
<Form.Item label={t("jobs.fields.rate_laa")} name="rate_laa">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lab")} name="rate_lab">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lad")} name="rate_lad">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lae")} name="rate_lae">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lar")} name="rate_lar">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_las")} name="rate_las">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_laf")} name="rate_laf">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lam")} name="rate_lam">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lag")} name="rate_lag">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_la1")} name="rate_la1">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_la2")} name="rate_la2">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_la3")} name="rate_la3">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_la4")} name="rate_la4">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_atp")} name="rate_atp">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_lau")} name="rate_lau">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_mapa")} name="rate_mapa">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_mash")} name="rate_mash">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_mahw")} name="rate_mahw">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_ma2s")} name="rate_ma2s">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_ma3s")} name="rate_ma3s">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_mabl")} name="rate_mabl">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_macs")} name="rate_macs">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
<Form.Item label={t("jobs.fields.rate_matd")} name="rate_matd">
|
|
<CurrencyInput />
|
|
</Form.Item>
|
|
</FormRow>
|
|
</div>
|
|
);
|
|
}
|