mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 08:10:32 +00:00
25 lines
630 B
JavaScript
25 lines
630 B
JavaScript
import React from 'react';
|
|
import InventoryAdjustmentDataTable from './InventoryAdjustmentDataTable';
|
|
|
|
import { useInventoryAdjustmentsContext } from './InventoryAdjustmentsProvider';
|
|
import { compose } from 'utils';
|
|
|
|
/**
|
|
* Inventory adjustments view page.
|
|
*/
|
|
function InventoryAdjustmentsView({
|
|
// #withAlertsActions.
|
|
openAlert,
|
|
}) {
|
|
|
|
return (
|
|
<InventoryAdjustmentDataTable
|
|
inventoryAdjustments={inventoryAdjustments}
|
|
isLoading={isAdjustmentsLoading}
|
|
onDeleteInventoryAdjustment={handleDeleteInventoryAdjustment}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default compose(withAlertsActions)(InventoryAdjustmentsView);
|