Compare commits
No commits in common. "c65f0dc9dc444a3e59f7c0459db3de105faaa552" and "bca36828267c4288747bed2e26a4ad8b1c224f2b" have entirely different histories.
c65f0dc9dc
...
bca3682826
|
@ -20,11 +20,11 @@ steps:
|
|||
urls: https://mattermost.eigen.co.id/api/v4/posts
|
||||
content_type: application/json
|
||||
headers:
|
||||
- Authorization=Bearer 5zubexudb38uuradfa36qy98ca
|
||||
- Authorization=Bearer ca1se6wnojbw3kd48j14rpr1oo
|
||||
template: |
|
||||
{
|
||||
"channel_id": "s1ekqde1c3du5p35g6budnuotc",
|
||||
"message": "Build {{repo.name}} sudah selesai"
|
||||
"message": "Build POS backend sudah selesai"
|
||||
}
|
||||
trigger:
|
||||
ref:
|
||||
|
|
|
@ -88,7 +88,7 @@ export class ChangeStatusBookingHandler
|
|||
async handle(event: TransactionChangeStatusEvent) {
|
||||
const data = event.data.data;
|
||||
|
||||
const dataID = data?.id ?? data?.order_id;
|
||||
const dataID = data?.id;
|
||||
|
||||
const couchData = await this.couchService.getDoc(dataID, 'booking');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import { EventTopics } from 'src/core/strings/constants/interface.constants';
|
|||
import { TransactionType } from 'src/modules/transaction/transaction/constants';
|
||||
import { TransactionModel } from 'src/modules/transaction/transaction/data/models/transaction.model';
|
||||
import { TransactionEntity } from 'src/modules/transaction/transaction/domain/entities/transaction.entity';
|
||||
import { Between, IsNull, MoreThan, Not } from 'typeorm';
|
||||
import { Between } from 'typeorm';
|
||||
import * as _ from 'lodash';
|
||||
import * as moment from 'moment';
|
||||
import { EMPTY_UUID, STATUS } from 'src/core/strings/constants/base.constants';
|
||||
|
@ -38,8 +38,6 @@ export class RecapReconciliationManager extends BaseCustomManager<TransactionEnt
|
|||
payment_type: TransactionType.COUNTER,
|
||||
status: STATUS.SETTLED,
|
||||
created_at: Between(this.startOfDay, this.endOfDay),
|
||||
payment_type_counter: Not(IsNull()),
|
||||
payment_total: MoreThan(0),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue