mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-24 08:39:49 +00:00
feat(warehouseTransfer): add warehouseTransfer.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
import React from 'react';
|
||||
import { Tab } from '@blueprintjs/core';
|
||||
import styled from 'styled-components';
|
||||
import intl from 'react-intl-universal';
|
||||
import { DrawerMainTabs } from 'components';
|
||||
|
||||
import WarehouseTransferDetailPanel from './WarehouseTransferDetailPanel';
|
||||
import WarehouseTransferDetailActionsBar from './WarehouseTransferDetailActionsBar';
|
||||
|
||||
/**
|
||||
* Warehouse transfer view detail.
|
||||
* @returns {React.JSX}
|
||||
*/
|
||||
export default function WarehouseTransferDetail() {
|
||||
return (
|
||||
<WarehouseTransferRoot>
|
||||
<WarehouseTransferDetailActionsBar />
|
||||
<WarehouseTransferDetailsTabs />
|
||||
</WarehouseTransferRoot>
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Warehouse transfer details tabs.
|
||||
* @returns {React.JSX}
|
||||
*/
|
||||
function WarehouseTransferDetailsTabs() {
|
||||
return (
|
||||
<DrawerMainTabs>
|
||||
<Tab
|
||||
title={intl.get('details')}
|
||||
id={'details'}
|
||||
panel={<WarehouseTransferDetailPanel />}
|
||||
/>
|
||||
</DrawerMainTabs>
|
||||
);
|
||||
}
|
||||
|
||||
const WarehouseTransferRoot = styled.div``;
|
||||
Reference in New Issue
Block a user