Compare commits
No commits in common. "development-local" and "1.5.2-alpha.1" have entirely different histories.
developmen
...
1.5.2-alph
|
@ -48,9 +48,7 @@ export class SalesPriceFormulaDataService extends BaseDataService<SalesPriceForm
|
||||||
}
|
}
|
||||||
|
|
||||||
async sentToBlackHole() {
|
async sentToBlackHole() {
|
||||||
const transactionSettingData = await this.transactionSetting.findOne({
|
const transactionSettingData = await this.transactionSetting.findOne({});
|
||||||
where: {},
|
|
||||||
});
|
|
||||||
const percentage = transactionSettingData?.value ?? 100;
|
const percentage = transactionSettingData?.value ?? 100;
|
||||||
|
|
||||||
// const transactionPercentage = Math.floor(Math.random() * 100) + 1;
|
// const transactionPercentage = Math.floor(Math.random() * 100) + 1;
|
||||||
|
|
|
@ -25,7 +25,6 @@ export class SalesPriceFormulaDataController {
|
||||||
return await this.orchestrator.update(data);
|
return await this.orchestrator.update(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Public(true)
|
|
||||||
@Put()
|
@Put()
|
||||||
async updateTransactionSetting(
|
async updateTransactionSetting(
|
||||||
@Body() data: TransactionSettingDto,
|
@Body() data: TransactionSettingDto,
|
||||||
|
|
|
@ -16,7 +16,6 @@ export class SalesPriceFormulaReadController {
|
||||||
return await this.orchestrator.detail();
|
return await this.orchestrator.detail();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Public(true)
|
|
||||||
@Get('detail')
|
@Get('detail')
|
||||||
async getTransactionSetting(): Promise<any> {
|
async getTransactionSetting(): Promise<any> {
|
||||||
return await this.orchestrator.getTransactionSetting();
|
return await this.orchestrator.getTransactionSetting();
|
||||||
|
|
Loading…
Reference in New Issue