mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
refactoring: invoice, receipt, payment receive, estimate and journal number dialogs.
This commit is contained in:
@@ -32,7 +32,7 @@ function EstimateFormHeader({
|
||||
}) {
|
||||
const { customers } = useEstimateFormContext();
|
||||
|
||||
const handleEstimateNumberChange = () => {
|
||||
const handleEstimateNumberBtnClick = () => {
|
||||
openDialog('estimate-number-form', {});
|
||||
};
|
||||
|
||||
@@ -135,7 +135,7 @@ function EstimateFormHeader({
|
||||
/>
|
||||
<InputPrependButton
|
||||
buttonProps={{
|
||||
onClick: handleEstimateNumberChange,
|
||||
onClick: handleEstimateNumberBtnClick,
|
||||
icon: <Icon icon={'settings-18'} />,
|
||||
}}
|
||||
tooltip={true}
|
||||
|
||||
Reference in New Issue
Block a user