lavoce #12
@@ -67,7 +67,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'action',
|
||||
align: 'center',
|
||||
width: '15%',
|
||||
@@ -251,7 +251,7 @@ const ListBrandDevice = memo(function ListBrandDevice(props) {
|
||||
}}
|
||||
size="large"
|
||||
>
|
||||
Tambah Brand Device
|
||||
Add Brand Device
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -81,7 +81,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '15%',
|
||||
@@ -249,7 +249,7 @@ const ListDevice = memo(function ListDevice(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -62,7 +62,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '15%',
|
||||
@@ -226,7 +226,7 @@ const ListPlantSubSection = memo(function ListPlantSubSection(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -78,7 +78,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '25%',
|
||||
@@ -239,7 +239,7 @@ const ListShift = memo(function ListShift(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -128,7 +128,7 @@ const DetailStatus = (props) => {
|
||||
title={
|
||||
<Text style={{ fontSize: '18px' }}>
|
||||
{props.actionMode === 'add'
|
||||
? 'Tambah Data'
|
||||
? 'Add data'
|
||||
: props.actionMode === 'preview'
|
||||
? 'Preview Status'
|
||||
: 'Edit Status'}
|
||||
|
||||
@@ -43,7 +43,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
width: '40%',
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '20%',
|
||||
@@ -198,7 +198,7 @@ const ListStatus = memo(function ListStatus(props) {
|
||||
}}
|
||||
>
|
||||
<Button icon={<PlusOutlined />} onClick={showAddModal} size="large">
|
||||
Tambah Data
|
||||
Add data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Col>
|
||||
|
||||
@@ -98,7 +98,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '15%',
|
||||
@@ -289,7 +289,7 @@ const ListTag = memo(function ListTag(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -61,7 +61,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '20%',
|
||||
@@ -258,7 +258,7 @@ const ListUnit = memo(function ListUnit(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add Data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
@@ -23,7 +23,7 @@ const IndexNotification = memo(function IndexNotification() {
|
||||
{
|
||||
title: (
|
||||
<Text strong style={{ fontSize: '14px' }}>
|
||||
• Notifikasi
|
||||
• Notification
|
||||
</Text>
|
||||
),
|
||||
},
|
||||
|
||||
@@ -168,7 +168,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
color: '#262626',
|
||||
}}
|
||||
>
|
||||
Notifikasi
|
||||
Notification
|
||||
</h2>
|
||||
<p style={{ margin: '0 0 24px 0', color: '#8c8c8c', fontSize: '14px' }}>
|
||||
Riwayat notifikasi yang dikirim ke engineer
|
||||
@@ -181,7 +181,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
onClick={() => setActiveTab('all')}
|
||||
style={tabButtonStyle(activeTab === 'all')}
|
||||
>
|
||||
Semua
|
||||
All
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setActiveTab('unread')}
|
||||
@@ -192,7 +192,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
gap: '8px',
|
||||
}}
|
||||
>
|
||||
Belum Dibaca
|
||||
Not read yet
|
||||
{getUnreadCount() > 0 && (
|
||||
<Badge
|
||||
count={getUnreadCount()}
|
||||
@@ -206,7 +206,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
onClick={() => setActiveTab('read')}
|
||||
style={tabButtonStyle(activeTab === 'read')}
|
||||
>
|
||||
Sudah Dibaca
|
||||
Already read
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -381,7 +381,7 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
fontWeight: 500,
|
||||
}}
|
||||
>
|
||||
Lihat Detail
|
||||
View Detail
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -397,3 +397,5 @@ const ListNotification = memo(function ListNotification(props) {
|
||||
});
|
||||
|
||||
export default ListNotification;
|
||||
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ const ListReport = memo(function ListReport(props) {
|
||||
icon={<FileTextOutlined />}
|
||||
onClick={handleSearch}
|
||||
>
|
||||
Tampilkan
|
||||
Show
|
||||
</Button>
|
||||
</Col>
|
||||
<Col>
|
||||
|
||||
@@ -174,7 +174,7 @@ const ReportTrending = memo(function ReportTrending(props) {
|
||||
icon={<FileTextOutlined />}
|
||||
onClick={handleSearch}
|
||||
>
|
||||
Tampilkan
|
||||
Show
|
||||
</Button>
|
||||
</Col>
|
||||
<Col>
|
||||
|
||||
@@ -42,7 +42,7 @@ const DetailRole = (props) => {
|
||||
setConfirmLoading(true);
|
||||
|
||||
const validationRules = [
|
||||
{ field: 'role_name', label: 'Nama Role', required: true },
|
||||
{ field: 'role_name', label: 'Role name', required: true },
|
||||
{ field: 'role_level', label: 'Level', required: true },
|
||||
];
|
||||
|
||||
@@ -169,7 +169,7 @@ const DetailRole = (props) => {
|
||||
<Row gutter={16}>
|
||||
<Col span={12}>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Text strong>Nama Role</Text>
|
||||
<Text strong>Role name</Text>
|
||||
<Text style={{ color: 'red' }}> *</Text>
|
||||
<Input
|
||||
name="role_name"
|
||||
@@ -196,7 +196,7 @@ const DetailRole = (props) => {
|
||||
</Col>
|
||||
</Row>
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<Text strong>Deskripsi Role</Text>
|
||||
<Text strong>Role Description</Text>
|
||||
<TextArea
|
||||
name="role_description"
|
||||
value={formData.role_description}
|
||||
|
||||
@@ -28,7 +28,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
title: 'Nama Role',
|
||||
title: 'Role Name',
|
||||
dataIndex: 'role_name',
|
||||
key: 'role_name',
|
||||
width: '25%',
|
||||
@@ -41,7 +41,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
title: 'Deskripsi',
|
||||
title: 'Description',
|
||||
dataIndex: 'role_description',
|
||||
key: 'role_description',
|
||||
width: '35%',
|
||||
@@ -67,7 +67,7 @@ const columns = (showPreviewModal, showEditModal, showDeleteDialog) => [
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Aksi',
|
||||
title: 'Action',
|
||||
key: 'aksi',
|
||||
align: 'center',
|
||||
width: '15%',
|
||||
@@ -229,7 +229,7 @@ const ListRole = memo(function ListRole(props) {
|
||||
onClick={() => showAddModal()}
|
||||
size="large"
|
||||
>
|
||||
Tambah Data
|
||||
Add Data
|
||||
</Button>
|
||||
</ConfigProvider>
|
||||
</Space>
|
||||
|
||||
Reference in New Issue
Block a user