Status Send | -Tanggal Kirim | -Deskripsi | -Judul Notifikasi | -Pesan Notifikasi | +{this.props.t('statusSend')} | +{this.props.t('dateSend')} | +{this.props.t('description')} | +{this.props.t('titleNotification')} | +{this.props.t('messageNotification')} |
---|---|---|---|---|---|---|---|---|---|
{val.join.status_send==="" ? "-" :val.status_send} | -{val.join.created_date==="" ? "-" : moment(val.created_date).format("YYYY-MM-DD HH:mm:ss")} | -{val.join.broadcast_description==="" ? "-" : val.join.broadcast_description} | -{val.join.broadcast_title_notif==="" ? "-" : val.join.broadcast_title_notif} | -{val.join.broadcast_message_notif==="" ? "-" : val.join.broadcast_message_notif} | -|||||
{val.join.status_send === "" ? "-" : val.status_send} | +{val.join.created_date === "" ? "-" : moment(val.created_date).format("YYYY-MM-DD HH:mm:ss")} | +{val.join.broadcast_description === "" ? "-" : val.join.broadcast_description} | +{val.join.broadcast_title_notif === "" ? "-" : val.join.broadcast_title_notif} | +{val.join.broadcast_message_notif === "" ? "-" : val.join.broadcast_message_notif} | +
-
-
- this.handleChangeDay(e)} defaultValue={this.state.currentDay}>
-
-
-
-
-
-
- {' '}
-
-
+
+
+
+
+
+
+ this.setState({
+ searchDetail: this.props.t('title'),
+ searchDetailField: "title_notif"
+ })}>Judul
+ this.setState({
+ searchDetail: this.props.t('description'),
+ searchDetailField: "description"
+ })}>Deskripsi
+ this.setState({
+ searchDetail: this.props.t('message'),
+ searchDetailField: "message_notif"
+ })}>Pesan
+ this.setState({
+ searchDetail: "Status",
+ searchDetailField: "status_send"
+ })}>Status
+
+
+
+
+
-
-
-
-
- this.setState({
- searchDetail: "Judul",
- searchDetailField: "title_notif"
- })}>Judul
- this.setState({
- searchDetail: "Deskripsi",
- searchDetailField: "description"
- })}>Deskripsi
- this.setState({
- searchDetail: "Pesan",
- searchDetailField: "message_notif"
- })}>Pesan
- this.setState({
- searchDetail: "Status",
- searchDetailField: "status_send"
- })}>Status
-
-
-
+
+ this.handleChangeDay(e)} defaultValue={this.state.currentDay}>
+
+
+
+
+
+
+ {' '}
+
- {n.k3_checked.length ? n.k3_checked.join() : "-"} | {n.k3_not_checked.length ? n.k3_not_checked.join() : "-"} | {n.description ? n.description : "-"} | - {n.image ? |
+ {n.image ? |
|||||||||||||
No Data Available | +{this.props.t('noData')} | ||||||||||||||||
- |
- { n.created_date!==null ? moment(n.created_at).format("DD-MM-YYYY HH:mm:ss") : "-" } | -{ n.join_first_name !==null ? n.join_first_name : "-" } | -{ n.status_response!==null ? n.status_response : "-" } | -||||||||||||||
No Data Available | -|||||||||||||||||
+ |
+ {n.created_date !== null ? moment(n.created_at).format("DD-MM-YYYY HH:mm:ss") : "-"} | +{n.join_first_name !== null ? n.join_first_name : "-"} | +{n.status_response !== null ? n.status_response : "-"} | +||||||||||||||
No Data Available | +
{moment(text).format("D-M-YYYY")}
) },
- { title: 'QTY', dataIndex: 'qty', key: 'qty', render: (text, record) => ({text ? text : "-"}
) },
- { title: 'UOM', dataIndex: 'uom', key: 'uom', render: (text, record) => ({text ? text : "-"}
) },
- { title: 'QTY Received', dataIndex: 'qty_received', key: 'qty_received', className: "nowrap", render: (text, record) => ({text ? text : "-"}
) },
- { title: 'Unit Price', dataIndex: 'price', key: 'price', render: (text, record) => { return renderFormatNumber(text, "Rp") } },
- { title: 'FOM Date', dataIndex: 'fom_date', key: 'fom_date', render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
- { title: 'PR Date', dataIndex: 'pr_date', key: 'pr_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'PO Date', dataIndex: 'po_date', key: 'po_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'Received Date', dataIndex: 'received_date', key: 'received_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'Delivery Date', dataIndex: 'delivery_date', key: 'delivery_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('description'), dataIndex: 'description', key: 'description' },
+ { title: t('dateRequired'), dataIndex: 'required_date', key: 'required_date', className: "nowrap", render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
+ { title: t('qty'), dataIndex: 'qty', key: 'qty', render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('uom'), dataIndex: 'uom', key: 'uom', render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('qtyReceived'), dataIndex: 'qty_received', key: 'qty_received', className: "nowrap", render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('unitPrice'), dataIndex: 'price', key: 'price', render: (text, record) => { return renderFormatNumber(text, "Rp") } },
+ { title: t('dateFOM'), dataIndex: 'fom_date', key: 'fom_date', render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
+ { title: t('datePR'), dataIndex: 'pr_date', key: 'pr_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('datePO'), dataIndex: 'po_date', key: 'po_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('dateReceived'), dataIndex: 'received_date', key: 'received_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('dateDelivery'), dataIndex: 'delivery_date', key: 'delivery_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
];
let componentGroup = [];
@@ -599,32 +600,32 @@ const Resource = ({ params }) => {
const RenderMaterialDeliveryTable = useMemo(() => {
const columns = [
{
- title: 'Action',
+ title: t('action'),
dataIndex: '',
key: 'id',
className: "nowrap",
render: (text, record) => <>
{text.status == "receipt to warehouse" ? <>
- {moment(text).format("D-M-YYYY")}
) },
- { title: 'QTY', dataIndex: 'qty', key: 'qty', render: (text, record) => ({text ? text : "-"}
) },
- { title: 'UOM', dataIndex: 'uom', key: 'uom', render: (text, record) => ({text ? text : "-"}
) },
- { title: 'QTY Received', dataIndex: 'qty_received', key: 'qty_received', className: "nowrap", render: (text, record) => ({text ? text : "-"}
) },
- { title: 'FOM Date', dataIndex: 'fom_date', key: 'fom_date', render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
- { title: 'PR Date', dataIndex: 'pr_date', key: 'pr_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'PO Date', dataIndex: 'po_date', key: 'po_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'Received Date', dataIndex: 'received_date', key: 'received_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
- { title: 'Delivery Date', dataIndex: 'delivery_date', key: 'delivery_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('description'), dataIndex: 'description', key: 'description' },
+ { title: t('dateRequired'), dataIndex: 'required_date', key: 'required_date', className: "nowrap", render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
+ { title: t('qty'), dataIndex: 'qty', key: 'qty', render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('uom'), dataIndex: 'uom', key: 'uom', render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('qtyReceived'), dataIndex: 'qty_received', key: 'qty_received', className: "nowrap", render: (text, record) => ({text ? text : "-"}
) },
+ { title: t('dateFOM'), dataIndex: 'fom_date', key: 'fom_date', render: (text, record) => ({moment(text).format("D-M-YYYY")}
) },
+ { title: t('datePR'), dataIndex: 'pr_date', key: 'pr_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('datePO'), dataIndex: 'po_date', key: 'po_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('dateReceived'), dataIndex: 'received_date', key: 'received_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
+ { title: t('dateDelivery'), dataIndex: 'delivery_date', key: 'delivery_date', className: "nowrap", render: (text, record) => ({text ? moment(text).format("D-M-YYYY") : "-"}
) },
];
let componentGroup = [];
@@ -655,13 +656,13 @@ const Resource = ({ params }) => {
{pageName}
Material Request
+{t('materialRequest')}
Material Delivery to Site
+{t('materialDelivery')}
Profile Setting | +|
Nama | +: {name} | +
Username | +: {userName} | +
: {email} | +|
Password | +: ********** | + +
Nomor Handphone | +: {noHp} | +
Alamat | +: {address} | +
ID Number | +: {idNumber} | +
Gender | +: {gender} | +
Divisi | +: {divisi} | +
employee | +: {divisi} | +
Role | +: {role} | +
Tempat Lahir | +: {birthdayPlace} | +
Tanggal Lahir | +: {birthdayDate} | +