fix: bugs bashing

- Added English translations for customer types in `customer.json`.
- Updated `Model.ts` to improve deletion logic by filtering dependent relations.
- Introduced `BillPaymentBillSyncSubscriber` to handle bill payment events.
- Enhanced `CreateBillPaymentService` and `EditBillPaymentService` to fetch entries after insertion/updating.
- Updated `SaleInvoiceCostGLEntries` to include item entry details in GL entries.
- Refactored various components in the webapp for consistency in naming conventions.
This commit is contained in:
Ahmed Bouhuolia
2026-01-04 01:24:10 +02:00
parent 987ad992a4
commit 0475ce136a
14 changed files with 167 additions and 32 deletions

View File

@@ -40,10 +40,10 @@ import { compose } from '@/utils';
* Payment made actions bar.
*/
function PaymentMadeActionsBar({
// #withPaymentMadesActions
// #withPaymentMadeActions
setPaymentMadesTableState,
// #withPaymentMades
// #withPaymentMade
paymentMadesFilterConditions,
// #withSettings
@@ -133,7 +133,7 @@ function PaymentMadeActionsBar({
icon={<Icon icon={'trash-16'} iconSize={16} />}
text={<T id={'delete'} />}
intent={Intent.DANGER}
// onClick={handleBulkDelete}
// onClick={handleBulkDelete}
/>
</If>
<Button

View File

@@ -8,7 +8,7 @@ import { PaymentMadesListProvider } from './PaymentMadesListProvider';
import PaymentMadeActionsBar from './PaymentMadeActionsBar';
import PaymentMadesTable from './PaymentMadesTable';
import { withPaymentMades } from './withPaymentMade';
import { withPaymentMade } from './withPaymentMade';
import { withPaymentMadeActions } from './withPaymentMadeActions';
import { compose, transformTableStateToQuery } from '@/utils';
@@ -17,7 +17,7 @@ import { compose, transformTableStateToQuery } from '@/utils';
* Payment mades list.
*/
function PaymentMadeList({
// #withPaymentMades
// #withPaymentMade
paymentMadesTableState,
paymentsTableStateChanged,
@@ -47,7 +47,7 @@ function PaymentMadeList({
}
export default compose(
withPaymentMades(({ paymentMadesTableState, paymentsTableStateChanged }) => ({
withPaymentMade(({ paymentMadesTableState, paymentsTableStateChanged }) => ({
paymentMadesTableState,
paymentsTableStateChanged,
})),

View File

@@ -15,7 +15,7 @@ import { withPaymentMadeActions } from './withPaymentMadeActions';
* Payment made views tabs.
*/
function PaymentMadeViewTabs({
// #withPaymentMadesActions
// #withPaymentMadeActions
setPaymentMadesTableState,
// #withPaymentMade