Repair Menu

This commit is contained in:
ajat91.sudrajat 2021-12-23 19:32:29 +07:00
parent 5229359425
commit 884a23ae80
10 changed files with 11 additions and 11 deletions

View File

@ -40,7 +40,7 @@ export const Partner = observer(() => {
},
{
route: LINKS.PARTNER,
name: <span style={{fontWeight: 'bold'}}>Partner</span>,
name: <span style={{fontWeight: 'bold'}}>Rekanan</span>,
},
];

View File

@ -167,7 +167,7 @@ export const Payback = observer(() => {
},
{
route: LINKS.PAYBACK,
name: <span style={{ fontWeight: "bold" }}>Payback Confirmation</span>,
name: <span style={{ fontWeight: "bold" }}>Konfirmasi Pembayaran</span>,
},
];

View File

@ -84,7 +84,7 @@ export const PaybackCreated = observer(() => {
},
{
route: LINKS.PAYBACK_CREATED,
name: <span style={{fontWeight: "bold"}}>Payback Created</span>,
name: <span style={{fontWeight: "bold"}}>Buat Pembayaran</span>,
},
];

View File

@ -41,7 +41,7 @@ export const Category = observer(() => {
},
{
route: LINKS.CATEGORY,
name: <span style={{ fontWeight: "bold" }}>Category</span>,
name: <span style={{ fontWeight: "bold" }}>Kategori</span>,
},
];

View File

@ -46,7 +46,7 @@ export const Product = observer(() => {
},
{
route: LINKS.PRODUCT,
name: <span style={{fontWeight: "bold"}}>Product</span>,
name: <span style={{fontWeight: "bold"}}>Produk</span>,
},
];

View File

@ -23,11 +23,11 @@ export const ProductDetail = observer(() => {
},
{
route: LINKS.PRODUCT,
name: <span style={{ fontWeight: "bold" }}>Product</span>,
name: <span style={{ fontWeight: "bold" }}>Produk</span>,
},
{
route: LINKS.PRODUCT_DETAIL,
name: <span style={{ fontWeight: "bold" }}>Product Detail</span>,
name: <span style={{ fontWeight: "bold" }}>Detail Produk</span>,
},
];

View File

@ -45,7 +45,7 @@ export const Subcategory = observer(() => {
},
{
route: LINKS.SUBCATEGORY,
name: <span style={{fontWeight: "bold"}}>Sub Category</span>,
name: <span style={{fontWeight: "bold"}}>Sub Kategori</span>,
},
];

View File

@ -21,7 +21,7 @@ export const Profile = observer(() => {
},
{
route: LINKS.PROFILE,
name: <span style={{fontWeight: 'bold'}}>Profile</span>,
name: <span style={{fontWeight: 'bold'}}>Profil</span>,
},
];

View File

@ -50,7 +50,7 @@ export const Transaction = observer(() => {
},
{
route: LINKS.TRANSACTION,
name: <span style={{fontWeight: 'bold'}}>Transaction</span>,
name: <span style={{fontWeight: 'bold'}}>Transaksi</span>,
},
];

View File

@ -36,7 +36,7 @@ export class Product {
async getData() {
try {
const response = await http.get(`/product/all?supplier=${this.filterSupplier}&sub-category=${this.filterSubCategory}&page=${this.page}&pageSize=${this.pageSize}`);
//console.log(response)
console.log(response)
this.data = response.body.data.map((item, idx) => {
item.key = idx;
return item