mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
40 lines
978 B
JavaScript
40 lines
978 B
JavaScript
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``;
|