mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: add sample import sheet to invoices
This commit is contained in:
@@ -7,10 +7,10 @@ export default function PaymentsReceiveImport() {
|
||||
const history = useHistory();
|
||||
|
||||
const handleCancelBtnClick = () => {
|
||||
history.push('/');
|
||||
history.push('/payment-receives');
|
||||
};
|
||||
const handleImportSuccess = () => {
|
||||
history.push('/accounts');
|
||||
history.push('/payment-receives');
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -58,7 +58,6 @@ export const getDashboardRoutes = () => [
|
||||
),
|
||||
breadcrumb: intl.get('edit'),
|
||||
pageTitle: 'Manual Journals Import',
|
||||
sidebarExpand: false,
|
||||
backLink: true,
|
||||
defaultSearchResource: RESOURCES_TYPES.MANUAL_JOURNAL,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
@@ -676,7 +675,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Estimates Import',
|
||||
pageTitle: 'Estimates Import',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
defaultSearchResource: RESOURCES_TYPES.ESTIMATE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
@@ -744,7 +742,6 @@ export const getDashboardRoutes = () => [
|
||||
name: 'invoice-edit',
|
||||
breadcrumb: 'Invoices Import',
|
||||
pageTitle: 'Invoices Import',
|
||||
sidebarExpand: false,
|
||||
backLink: true,
|
||||
defaultSearchResource: RESOURCES_TYPES.INVOICE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
@@ -787,7 +784,6 @@ export const getDashboardRoutes = () => [
|
||||
defaultSearchResource: RESOURCES_TYPES.INVOICE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
|
||||
// Sales Receipts.
|
||||
{
|
||||
path: `/receipts/import`,
|
||||
@@ -798,7 +794,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Receipts Import',
|
||||
pageTitle: 'Receipts Import',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
defaultSearchResource: RESOURCES_TYPES.RECEIPT,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
@@ -851,7 +846,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Credit Notes Import',
|
||||
pageTitle: 'Credit Notes Import',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
defaultSearchResource: RESOURCES_TYPES.CREDIT_NOTE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
@@ -926,7 +920,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Payments Receive Import',
|
||||
pageTitle: 'Payments Receive Import',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
defaultSearchResource: RESOURCES_TYPES.PAYMENT_RECEIVE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
@@ -983,7 +976,6 @@ export const getDashboardRoutes = () => [
|
||||
name: 'bill-edit',
|
||||
// breadcrumb: intl.get('edit'),
|
||||
pageTitle: 'Bills Import',
|
||||
sidebarExpand: false,
|
||||
backLink: true,
|
||||
defaultSearchResource: RESOURCES_TYPES.BILL,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
@@ -1036,7 +1028,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Vendor Credits Import',
|
||||
pageTitle: 'Vendor Credits Import',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
defaultSearchResource: RESOURCES_TYPES.VENDOR_CREDIT,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
@@ -1118,7 +1109,6 @@ export const getDashboardRoutes = () => [
|
||||
name: 'payment-made-edit',
|
||||
breadcrumb: intl.get('edit'),
|
||||
pageTitle: 'Bills Payments Import',
|
||||
sidebarExpand: false,
|
||||
backLink: true,
|
||||
defaultSearchResource: RESOURCES_TYPES.PAYMENT_MADE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
@@ -1192,6 +1182,7 @@ export const getDashboardRoutes = () => [
|
||||
),
|
||||
),
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
pageTitle: 'Bank Transactions Import',
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
defaultSearchResource: RESOURCES_TYPES.ACCOUNT,
|
||||
|
||||
Reference in New Issue
Block a user