@@ -311,7 +313,7 @@ export default {
Authorization: "Bearer " + localStorage.getItem("token"),
},
params: {
- caw_id: "3",
+ caw_id: "4",
},
})
.then((response) => {
diff --git a/src/components/result/PaymentHistory.vue b/src/components/result/PaymentHistory.vue
new file mode 100644
index 0000000..f7ba98f
--- /dev/null
+++ b/src/components/result/PaymentHistory.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+ | # |
+ Tarikh Lelong |
+ Jumlah |
+ Status |
+
+
+
+
+ | {{ index + 1 }} |
+ {{data.tarikh_lelong}} |
+ RM{{data.total}} |
+ {{data.status}} |
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/result/ToPay.vue b/src/components/result/ToPay.vue
new file mode 100644
index 0000000..f85bd99
--- /dev/null
+++ b/src/components/result/ToPay.vue
@@ -0,0 +1,354 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Maklumat Marhun |
+
+
+ Harga Bida
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ sag.norujukan }}
+
+ |
+
+
+ RM{{ sag.hargabida }}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Jumlah
+
+
+
+
+
RM{{ total_hargabida }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index 5de1b0f..bbda90b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,10 +4,11 @@ import Register from '../components/Register.vue';
import Dashboard from './../components/Dashboard.vue';
import Cart from './../components/Cart.vue';
import List from './../components/List.vue'
-import Pay from './../components/Pay.vue'
+import Pay from '../components/Pay.vue'
import Profile from './../components/Profile.vue'
+import BidHistory from '../components/BidHistory.vue'
// import Modals from './../components/Modal.vue'
-import { Modal } from "bootstrap";
+// import { Modal } from "bootstrap";
const routes = [
{
@@ -57,6 +58,13 @@ const routes = [
component: Profile,
// meta: { requiresAuth: true }
+ },
+ {
+ path: '/bidhistory',
+ name: 'BidHistory',
+ component: BidHistory,
+ // meta: { requiresAuth: true }
+
},
// {
// name: 'Modal',