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 // jika delete
if (data._deleted ?? false) { if (data._deleted ?? false) {
await this.dataService.deleteById( // FIXME => This comment for ignore delete from POS data
queryRunner, // await this.dataService.deleteById(
TransactionModel, // queryRunner,
data._id, // TransactionModel,
); // data._id,
// );
} }
// jika update // create // jika update // create