mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
chore(webapp): vendor tabs
This commit is contained in:
@@ -6,20 +6,17 @@ import { Tabs, Tab } from '@blueprintjs/core';
|
|||||||
import { CLASSES } from '@/constants/classes';
|
import { CLASSES } from '@/constants/classes';
|
||||||
|
|
||||||
import VendorFinanicalPanelTab from './VendorFinanicalPanelTab';
|
import VendorFinanicalPanelTab from './VendorFinanicalPanelTab';
|
||||||
import VendorAttahmentTab from './VendorAttahmentTab';
|
|
||||||
|
|
||||||
import CustomerAddressTabs from '@/containers/Customers/CustomerForm/CustomerAddressTabs';
|
import CustomerAddressTabs from '@/containers/Customers/CustomerForm/CustomerAddressTabs';
|
||||||
import CustomerNotePanel from '@/containers/Customers/CustomerForm/CustomerNotePanel';
|
import CustomerNotePanel from '@/containers/Customers/CustomerForm/CustomerNotePanel';
|
||||||
import styled from 'styled-components';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Vendor form tabs.
|
* Vendor form tabs.
|
||||||
*/
|
*/
|
||||||
export default function VendorTabs() {
|
export default function VendorTabs() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(CLASSES.PAGE_FORM_TABS)}>
|
<div className={classNames(CLASSES.PAGE_FORM_TABS)}>
|
||||||
<VendorTabsRoot
|
<Tabs
|
||||||
animate={true}
|
animate={true}
|
||||||
id={'vendor-tabs'}
|
id={'vendor-tabs'}
|
||||||
large={true}
|
large={true}
|
||||||
@@ -40,9 +37,7 @@ export default function VendorTabs() {
|
|||||||
title={intl.get('notes')}
|
title={intl.get('notes')}
|
||||||
panel={<CustomerNotePanel />}
|
panel={<CustomerNotePanel />}
|
||||||
/>
|
/>
|
||||||
</VendorTabsRoot>
|
</Tabs>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const VendorTabsRoot = styled(Tabs)``;
|
|
||||||
Reference in New Issue
Block a user