Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
		| @@ -164,14 +164,11 @@ export class TransactionService { | ||||
|         ); | ||||
|       } | ||||
|  | ||||
|       console.log('suppliercodeini', supplier.code); | ||||
|       // GET COA | ||||
|       const coaBudget = await this.coaService.findByName( | ||||
|           `${coaType[coaType.BUDGET]}-${supplier.code}`, | ||||
|       ); | ||||
|  | ||||
|       console.log('coabudgetamount', coaBudget.amount); | ||||
|       console.log('distributeamount',distributeTransactionDto.amount); | ||||
|       if (coaBudget.amount < distributeTransactionDto.amount) { | ||||
|         throw new HttpException( | ||||
|             { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user