Compare commits
3 Commits
c1e3d30294
...
d738049742
| Author | SHA1 | Date | |
|---|---|---|---|
| d738049742 | |||
| b627aedf90 | |||
| 6f4981699e |
@ -1,6 +1,5 @@
|
|||||||
import React, { Component } from "react";
|
import React, { Component } from "react";
|
||||||
|
|
||||||
import ReportSingleMigration from "../common/Forms/ReportSingleMigration";
|
|
||||||
import { callAPI } from "../../actions/API";
|
import { callAPI } from "../../actions/API";
|
||||||
import { GenericForm } from "../common/Forms/GenericForm";
|
import { GenericForm } from "../common/Forms/GenericForm";
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,6 @@ import {
|
|||||||
import classnames from "classnames";
|
import classnames from "classnames";
|
||||||
|
|
||||||
import EmailBooking from "./EmailBooking";
|
import EmailBooking from "./EmailBooking";
|
||||||
import { CPanelForm } from "./CPanelForm";
|
|
||||||
import { GenericForm } from "./GenericForm";
|
import { GenericForm } from "./GenericForm";
|
||||||
|
|
||||||
const FormPage = ({ timeslots, item }) => {
|
const FormPage = ({ timeslots, item }) => {
|
||||||
@ -53,7 +52,7 @@ const FormPage = ({ timeslots, item }) => {
|
|||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
{/* <CPanelForm timeslots={timeslots} key={timeslots.id} /> */}
|
{/* <CPanelForm timeslots={timeslots} key={timeslots.id} /> */}
|
||||||
<GenericForm timeslots={timeslots} key={timeslots.id}/>
|
<GenericForm timeslots={timeslots} key={timeslots.id} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</TabPane>
|
</TabPane>
|
||||||
|
|||||||
@ -77,7 +77,13 @@ const CompTable = (props) => {
|
|||||||
sizePerPageRenderer, // A numeric array is also available. the purpose of above example is custom the text
|
sizePerPageRenderer, // A numeric array is also available. the purpose of above example is custom the text
|
||||||
};
|
};
|
||||||
|
|
||||||
const columns = [
|
let columns = [
|
||||||
|
{
|
||||||
|
dataField: "domain",
|
||||||
|
text: "Domain",
|
||||||
|
sort: true,
|
||||||
|
formatter: (cell, row) => <a href={"migrations/" + row.id}> {cell} </a>,
|
||||||
|
},
|
||||||
{ dataField: "id", text: "ID", hidden: true },
|
{ dataField: "id", text: "ID", hidden: true },
|
||||||
{ dataField: "brand", text: "Brand", sort: true },
|
{ dataField: "brand", text: "Brand", sort: true },
|
||||||
{ dataField: "migration_status", text: "Status", sort: true },
|
{ dataField: "migration_status", text: "Status", sort: true },
|
||||||
@ -108,12 +114,6 @@ const CompTable = (props) => {
|
|||||||
},
|
},
|
||||||
{ dataField: "booked_date", text: "Booked Date", sort: true },
|
{ dataField: "booked_date", text: "Booked Date", sort: true },
|
||||||
{ dataField: "agent_booked", text: "Agent initials", sort: true },
|
{ dataField: "agent_booked", text: "Agent initials", sort: true },
|
||||||
{
|
|
||||||
dataField: "domain",
|
|
||||||
text: "Domain",
|
|
||||||
sort: true,
|
|
||||||
formatter: (cell, row) => <a href={"migrations/" + row.id}> {cell} </a>,
|
|
||||||
},
|
|
||||||
{ dataField: "additional_domains", text: "Additional Domains", sort: true },
|
{ dataField: "additional_domains", text: "Additional Domains", sort: true },
|
||||||
{ dataField: "username", text: "Username", sort: true },
|
{ dataField: "username", text: "Username", sort: true },
|
||||||
{ dataField: "migration_type", text: "Type", sort: true },
|
{ dataField: "migration_type", text: "Type", sort: true },
|
||||||
|
|||||||
Reference in New Issue
Block a user