Repair Menu
This commit is contained in:
parent
5229359425
commit
884a23ae80
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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>,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user