diff --git a/src/pages/Payback/Payback.js b/src/pages/Payback/Payback.js
index 13538c5..6194bc6 100644
--- a/src/pages/Payback/Payback.js
+++ b/src/pages/Payback/Payback.js
@@ -185,7 +185,7 @@ export const Payback = observer(() => {
const dataRoute = [
{
route: LINKS.PAYBACK,
- name: "Konfirmasi Pembayaran"
+ name: "Konfirmasi Pembayaran",
},
];
@@ -201,15 +201,6 @@ export const Payback = observer(() => {
: message.success(
response?.body?.message || `Success ${capitalize(type)} Payback`
);
- // if (response.body.status !== 201 ) {
- // message.error(
- // response?.body?.message || `Failed ${capitalize(type)} Payback`
- // );
- // } else {
- // message.success(
- // response?.body?.message || `Success ${capitalize(type)} Payback`
- // );
- // }
} catch (e) {
console.error(e, "apa errornya");
message.error(
@@ -532,46 +523,6 @@ export const Payback = observer(() => {
- {/*
*/}
-
- {/*
- Date
-
- */}
- {/* */}
- {/* */}
- {/*
-
- Filter Sub-Categories
-
-
- */}
diff --git a/src/pages/Payback/PaybackCreated.js b/src/pages/Payback/PaybackCreated.js
index 9f3bda2..e55ba2e 100644
--- a/src/pages/Payback/PaybackCreated.js
+++ b/src/pages/Payback/PaybackCreated.js
@@ -90,12 +90,6 @@ export const PaybackCreated = observer(() => {
key: "status",
width: "10%",
render: (text, record) => (
- //
- // {PAYBACK_STATUS[text]}
- //
{
const handleSubmitFilter = async () => {
const data = form.getFieldsValue();
console.log(data);
- //store.payback.filterMembership = filterMembership;
- // const awal = format(parseISO(data.start_date), "dd-MM-yyyy")
- // const akhir = format(parseISO(data.start_date), "dd-MM-yyyy")
- //const awal= format(startOfDay(date.start_date()), 'yyyy-MM-dd 00:00')
const awal = (store.payback.filterStart = moment(data.start_date).format(
"YYYY-MM-DD 00:00:00"
));
@@ -174,8 +164,6 @@ export const PaybackCreated = observer(() => {
modalLoader.setLoading(true);
await store.payback.getDataCreated();
modalLoader.setLoading(false);
- // form.resetFields();
- // setFilterMembership([]);
store.payback.visibleModalFilterCreate = false;
};
diff --git a/src/pages/Product/ProductDetail.js b/src/pages/Product/ProductDetail.js
index 22cb5f9..de8aa00 100644
--- a/src/pages/Product/ProductDetail.js
+++ b/src/pages/Product/ProductDetail.js
@@ -134,16 +134,6 @@ export const ProductDetail = observer(() => {
- {/*
-
-
- Saldo
-
-
- {store.authentication.profileData?.wallet}
-
-
- */}
@@ -151,13 +141,6 @@ export const ProductDetail = observer(() => {
Product Price History
-
- {/* */}
{
));
console.log(awal);
console.log(akhir);
- // store.transaction.filterStart = data.start_date;
- // store.transaction.filterEnd = data.end_date;
modalLoader.setLoading(true);
await store.transaction.getDataHistoryTransaction();
modalLoader.setLoading(false);
@@ -270,83 +268,7 @@ export const Profile = observer(() => {
{store.authentication.profileData.superior?.username}
- {/* {store.authentication.userData.role === "Retail" && (
-
-
- Foto Identitas
-
-
- Foto Toko
-
-
-
-
-
-
-
-
-
-
-
-
- )} */}
{store.authentication.userData.role === "Retail" && (
- //
- //
- // Foto Identitas
- //
- //
- //
- //
- //
- //
- //
- //
- // Foto Toko
- //
- //
- // {JSON.parse(
- // store.authentication.profileData.userDetail
- // ?.image_store
- // ).map((item) => (
- //
- // ))}
- //
- //
- //
- //
Foto Identitas