Merge pull request 'feat: ignore sync delete data from POS data' (#83) from feat/adjustment-report into development
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

Reviewed-on: #83
fix/report 20.1.60-alpha.1
firmanr 2024-09-10 10:26:19 +00:00
commit 40aafaf571
1 changed files with 6 additions and 5 deletions

View File

@ -61,11 +61,12 @@ export class PosTransactionHandler implements IEventHandler<ChangeDocEvent> {
// jika delete
if (data._deleted ?? false) {
await this.dataService.deleteById(
queryRunner,
TransactionModel,
data._id,
);
// FIXME => This comment for ignore delete from POS data
// await this.dataService.deleteById(
// queryRunner,
// TransactionModel,
// data._id,
// );
}
// jika update // create