Put buttons on batch forms above the content instead of below
This commit is contained in:
@@ -66,18 +66,18 @@ const BatchExpenditureForm: React.FC<BatchExpenditureFormProps> = ({ onClose, on
|
||||
duplicatesFound={duplicatesFound}
|
||||
/>
|
||||
|
||||
<ExpenditureActions
|
||||
onCancel={onClose}
|
||||
onSubmit={handleSubmit}
|
||||
canSubmit={canSubmit}
|
||||
/>
|
||||
|
||||
<ExpenditureTable
|
||||
transactionGroups={transactionGroups}
|
||||
jobs={jobs}
|
||||
eligibleJobs={eligibleJobs}
|
||||
onAssignJob={handleAssignJob}
|
||||
/>
|
||||
|
||||
<ExpenditureActions
|
||||
onCancel={onClose}
|
||||
onSubmit={handleSubmit}
|
||||
canSubmit={canSubmit}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</CardContent>
|
||||
|
@@ -59,18 +59,18 @@ const BatchTransactionForm: React.FC<BatchTransactionFormProps> = ({ onClose, on
|
||||
/>
|
||||
</div>
|
||||
|
||||
<TransactionActions
|
||||
onCancel={onClose}
|
||||
onSubmit={handleSubmit}
|
||||
canSubmit={canSubmit}
|
||||
/>
|
||||
|
||||
<TransactionTable
|
||||
transactionGroups={transactionGroups}
|
||||
jobs={jobs}
|
||||
eligibleJobs={eligibleJobs}
|
||||
onAssignJob={handleAssignJob}
|
||||
/>
|
||||
|
||||
<TransactionActions
|
||||
onCancel={onClose}
|
||||
onSubmit={handleSubmit}
|
||||
canSubmit={canSubmit}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</CardContent>
|
||||
|
Reference in New Issue
Block a user