BOD-17 Basic creation of a contract functioning.
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
import React from "react";
|
||||
import ContractFormComponent from "../../components/contract-form/contract-form.component";
|
||||
import { Button } from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import ContractJobsContainer from "../../components/contract-jobs/contract-jobs.container";
|
||||
import ContractCarsContainer from "../../components/contract-cars/contract-cars.container";
|
||||
|
||||
export default function ContractCreatePageComponent() {
|
||||
export default function ContractCreatePageComponent({
|
||||
selectedJobState,
|
||||
selectedCarState
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div>
|
||||
<Button htmlType="submit">{t("general.actions.create")}</Button>
|
||||
<ContractJobsContainer selectedJobState={selectedJobState} />
|
||||
<ContractCarsContainer selectedCarState={selectedCarState} />
|
||||
<ContractFormComponent />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user