From f481bae4d28b770d85ca2340cff60acbec70d0ee Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 14 Nov 2024 09:45:15 +0700
Subject: <iman>

---
 src/lib/tempo/components/Tempo.jsx | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

(limited to 'src/lib/tempo/components/Tempo.jsx')

diff --git a/src/lib/tempo/components/Tempo.jsx b/src/lib/tempo/components/Tempo.jsx
index 9b68251c..c3cf621c 100644
--- a/src/lib/tempo/components/Tempo.jsx
+++ b/src/lib/tempo/components/Tempo.jsx
@@ -8,14 +8,17 @@ import { toQuery } from 'lodash-contrib';
 import _ from 'lodash';
 import { useRouter } from 'next/router';
 import { useState } from 'react';
-import useInvoices from '../hooks/useInvoices';
+import useInvoices from '../../invoice/hooks/useInvoices';
 import Spinner from '@/core/components/elements/Spinner/Spinner';
 import Alert from '@/core/components/elements/Alert/Alert';
 import Pagination from '@/core/components/elements/Pagination/Pagination';
 import Link from '@/core/components/elements/Link/Link';
 import currencyFormat from '@/core/utils/currencyFormat';
 import BottomPopup from '@/core/components/elements/Popup/BottomPopup';
-import { downloadInvoice, downloadTaxInvoice } from '../utils/invoices';
+import {
+  downloadInvoice,
+  downloadTaxInvoice,
+} from '../../invoice/utils/invoices';
 import MobileView from '@/core/components/views/MobileView';
 import DesktopView from '@/core/components/views/DesktopView';
 import Menu from '@/lib/auth/components/Menu';
@@ -183,13 +186,14 @@ const Tempo = () => {
             <Menu />
           </div>
           <div className='w-9/12 p-4 bg-white border border-gray_r-6 rounded'>
+            <div className='flex flex-col mb-6 items-start justify-start'>
+              <h1 className='text-title-sm font-semibold'>Pembayaran Tempo</h1>
+              <p>
+                Jenis Tempo Pembayaran Anda adalah :{' '}
+                <span className='badge-solid-green px-2'>7 Hari</span>
+              </p>
+            </div>
             <div className='flex mb-6 items-center justify-between'>
-              <h1 className='text-title-sm font-semibold'>
-                Invoice & Faktur Pajak{' '}
-                {invoices?.data?.invoices
-                  ? `(${invoices?.data?.invoices.length})`
-                  : ''}
-              </h1>
               <form className='flex gap-x-2' onSubmit={handleSubmit}>
                 <input
                   type='text'
-- 
cgit v1.2.3

