WIP/ Feature : Estimate & Receipt & Bill & Invoice

This commit is contained in:
elforjani3
2020-08-12 21:19:52 +02:00
parent 58c6b5466c
commit c86f0b29bf
66 changed files with 4288 additions and 535 deletions

View File

@@ -220,13 +220,13 @@ export default [
}),
breadcrumb: 'New Estimates',
},
// {
// path: `/estimates`,
// component: LazyLoader({
// loader: () => import('containers/Sales/EstimatesList'),
// }),
// breadcrumb: 'Estimates',
// },
{
path: `/estimates`,
component: LazyLoader({
loader: () => import('containers/Sales/Estimate/EstimateList'),
}),
breadcrumb: 'Estimates List',
},
//Invoices
@@ -245,13 +245,13 @@ export default [
}),
breadcrumb: 'New Invoice',
},
// {
// path:`/invoices`,
// component:LazyLoader({
// loader:()=>import('containers/Sales/Invoice/Invoices')
// }),
// breadcrumb: 'New Invoice',
// },
{
path: `/invoices`,
component: LazyLoader({
loader: () => import('containers/Sales/Invoice/InvoiceList'),
}),
breadcrumb: 'Invoices List',
},
//Receipts
{
@@ -268,16 +268,15 @@ export default [
}),
breadcrumb: 'New Receipt',
},
// {
// path: `/receipts`,
// component: LazyLoader({
// loader: () => import('containers/Sales/Receipt/Receipts'),
// }),
// breadcrumb: 'New Receipt',
// }
{
path: `/receipts`,
component: LazyLoader({
loader: () => import('containers/Sales/Receipt/ReceiptList'),
}),
breadcrumb: 'Receipt List',
},
// Payment Receives
// Payment Receives
{
path: `/payment-receive/:id/edit`,
@@ -285,7 +284,6 @@ export default [
loader: () => import('containers/Sales/PaymentReceive/PaymentReceives'),
}),
breadcrumb: 'Edit',
},
{
path: `/payment-receive/new`,
@@ -293,24 +291,35 @@ export default [
loader: () => import('containers/Sales/PaymentReceive/PaymentReceives'),
}),
breadcrumb: 'New Payment Receive',
},
//Bills
{
path: `/bill/:id/edit`,
path: `/bills/:id/edit`,
component: LazyLoader({
loader: () => import('containers/Purchases/Bills'),
loader: () => import('containers/Purchases/Bill/Bills'),
}),
breadcrumb: 'Edit',
},
{
path: `/bill/new`,
path: `/bills/new`,
component: LazyLoader({
loader: () => import('containers/Purchases/Bills'),
loader: () => import('containers/Purchases/Bill/Bills'),
}),
breadcrumb: 'New Bill',
},
{
path: `/bills`,
component: LazyLoader({
loader: () => import('containers/Purchases/Bill/BillList'),
}),
breadcrumb: 'Bill List',
},
{
path: `/receipts`,
component: LazyLoader({
loader: () => import('containers/Sales/Receipt/ReceiptList'),
}),
breadcrumb: 'Receipt List',
},
];