mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: add convert to credit note.
This commit is contained in:
@@ -646,6 +646,21 @@ export const getDashboardRoutes = () => [
|
||||
defaultSearchResource: RESOURCES_TYPES.CREDIT_NOTE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
{
|
||||
path: `/credit-notes/new/?from_invoice_id=/:id`,
|
||||
component: lazy(() =>
|
||||
import(
|
||||
'../containers/Sales/CreditNotes/CreditNoteForm/CreditNoteFormPage'
|
||||
),
|
||||
),
|
||||
name: 'credit-note-new',
|
||||
breadcrumb: intl.get('credit_note.label.new_credit_note'),
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
pageTitle: intl.get('credit_note.label.new_credit_note'),
|
||||
defaultSearchResource: RESOURCES_TYPES.CREDIT_NOTE,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
{
|
||||
path: '/credit-notes/new',
|
||||
component: lazy(() =>
|
||||
@@ -773,6 +788,21 @@ export const getDashboardRoutes = () => [
|
||||
defaultSearchResource: RESOURCES_TYPES.VENDOR_CREDIT,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
{
|
||||
path: '/vendor-credits/new/?from_bill_id=/:id',
|
||||
component: lazy(() =>
|
||||
import(
|
||||
'containers/Purchases/CreditNotes/CreditNoteForm/VendorCreditNoteFormPage'
|
||||
),
|
||||
),
|
||||
name: 'vendor-credits-new',
|
||||
backLink: true,
|
||||
sidebarExpand: false,
|
||||
breadcrumb: intl.get('vendor_credits.label.new_vendor_credit'),
|
||||
pageTitle: intl.get('vendor_credits.label.new_vendor_credit'),
|
||||
defaultSearchResource: RESOURCES_TYPES.VENDOR_CREDIT,
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
{
|
||||
path: '/vendor-credits/new',
|
||||
component: lazy(() =>
|
||||
|
||||
Reference in New Issue
Block a user