summaryrefslogtreecommitdiff
path: root/src/pages/my
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-03 17:03:45 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-03 17:03:45 +0700
commitcd01ba82733062db99075ad7690bdb52fb85745a (patch)
treedf86ed690452945463abc77263ac058d5b7f9823 /src/pages/my
parent87af032177192ed1d5d7c68cab911ed102e647bc (diff)
no message
Diffstat (limited to 'src/pages/my')
-rw-r--r--src/pages/my/invoice/[id].js5
-rw-r--r--src/pages/my/invoices.js2
-rw-r--r--src/pages/my/transaction/[id].js1
3 files changed, 5 insertions, 3 deletions
diff --git a/src/pages/my/invoice/[id].js b/src/pages/my/invoice/[id].js
index 05247210..10f625a9 100644
--- a/src/pages/my/invoice/[id].js
+++ b/src/pages/my/invoice/[id].js
@@ -93,7 +93,7 @@ export default function DetailInvoice() {
<p className="text-gray_r-11 leading-none">Faktur Pembelian</p>
<button
type="button"
- className="btn-solid-red py-1 px-2 ml-auto"
+ className="btn-light py-1.5 px-3 ml-auto"
onClick={downloadInvoice}
>
Download
@@ -103,7 +103,7 @@ export default function DetailInvoice() {
<p className="text-gray_r-11 leading-none">Faktur Pajak</p>
<button
type="button"
- className="btn-solid-red py-1 px-2 ml-auto"
+ className="btn-light py-1.5 px-3 ml-auto"
onClick={downloadTaxInvoice}
disabled={invoice.efaktur ? false : true}
>
@@ -131,6 +131,7 @@ export default function DetailInvoice() {
<VariantCard
key={index}
data={product}
+ buyMore
/>
)) }
<div className="flex justify-between mt-3 font-medium">
diff --git a/src/pages/my/invoices.js b/src/pages/my/invoices.js
index d54f9487..a86ddffc 100644
--- a/src/pages/my/invoices.js
+++ b/src/pages/my/invoices.js
@@ -115,7 +115,7 @@ export default function Invoices() {
</div>
</div>
</Link>
- { invoice.efaktur_token ? (
+ { invoice.efaktur ? (
<div className="badge-green h-fit mt-3 ml-auto flex items-center gap-x-0.5">
<CheckIcon className="w-4 stroke-2" />
Faktur Pajak
diff --git a/src/pages/my/transaction/[id].js b/src/pages/my/transaction/[id].js
index a508ef77..428d71fb 100644
--- a/src/pages/my/transaction/[id].js
+++ b/src/pages/my/transaction/[id].js
@@ -72,6 +72,7 @@ export default function DetailTransaction() {
<VariantCard
key={index}
data={product}
+ buyMore
/>
)) }
<div className="flex justify-between mt-3 font-medium">