diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-08-23 17:03:23 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-08-23 17:03:23 +0700 |
| commit | e6feac8e6ce2ea3c428d4307251634708b676c25 (patch) | |
| tree | dc35fbb238928da2a0d6abbad7517a3d81d0a27a /src/pages | |
| parent | 28a598a7b0367aa3db14acf5dd700d6264a9f5cc (diff) | |
page daftar pengiriman
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/my/menu.jsx | 1 | ||||
| -rw-r--r-- | src/pages/my/shipments/index.jsx | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/pages/my/menu.jsx b/src/pages/my/menu.jsx index c8e1e7e9..8d209fba 100644 --- a/src/pages/my/menu.jsx +++ b/src/pages/my/menu.jsx @@ -42,6 +42,7 @@ export default function Menu() { <div className='divide-y divide-gray_r-6 border-y border-gray_r-6 mt-4'> <LinkItem href='/my/quotations'>Daftar Quotation</LinkItem> <LinkItem href='/my/transactions'>Daftar Transaksi</LinkItem> + <LinkItem href='/my/shipments'>Daftar Pengiriman</LinkItem> <LinkItem href='/my/invoices'>Invoice & Faktur Pajak</LinkItem> <LinkItem href='/my/wishlist'>Wishlist</LinkItem> </div> diff --git a/src/pages/my/shipments/index.jsx b/src/pages/my/shipments/index.jsx new file mode 100644 index 00000000..cb69c4e9 --- /dev/null +++ b/src/pages/my/shipments/index.jsx @@ -0,0 +1,29 @@ +import Seo from '@/core/components/Seo' +import AppLayout from '@/core/components/layouts/AppLayout' +import BasicLayout from '@/core/components/layouts/BasicLayout' +import DesktopView from '@/core/components/views/DesktopView' +import MobileView from '@/core/components/views/MobileView' +import IsAuth from '@/lib/auth/components/IsAuth' +import dynamic from 'next/dynamic' + +const ShipmentsComponent = dynamic(() => import('@/lib/shipment/components/Shipments')) + +export default function MyShipments() { + return ( + <IsAuth> + <Seo title='Shipments - Indoteknik.com' /> + + <MobileView> + <AppLayout title='Pengiriman'> + <ShipmentsComponent /> + </AppLayout> + </MobileView> + + <DesktopView> + <BasicLayout> + <ShipmentsComponent /> + </BasicLayout> + </DesktopView> + </IsAuth> + ) +} |
