feat(settings): unify settings and ui-texts with canonical aliases, add PriceInput thousand separators, and synchronize financial endpoints
Deploy Canina / deploy (push) Successful in 1m46s
Deploy Canina / deploy (push) Successful in 1m46s
This commit is contained in:
1 parent
45c9db133c
commit
b3c60a1a7d
17 files changed
+79340
-78724
No files matched your search
@@ -77,6 +77,22 @@ export class SettingsController {
|
||||
return this.settingsService.updateBulkUiTexts(body);
|
||||
}
|
||||
|
||||
@Get('financial')
|
||||
@ApiOperation({ summary: 'دریافت تنظیمات مالی و ارسال' })
|
||||
getFinancial() {
|
||||
return this.settingsService.getFinancialSettings();
|
||||
}
|
||||
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('Admin')
|
||||
@ApiBearerAuth()
|
||||
@Patch('financial')
|
||||
@Put('financial')
|
||||
@ApiOperation({ summary: 'ویرایش تنظیمات مالی و ارسال' })
|
||||
updateFinancial(@Body() body: any) {
|
||||
return this.settingsService.updateFinancialSettings(body);
|
||||
}
|
||||
|
||||
@Get('scientific-terms')
|
||||
@ApiOperation({ summary: 'دریافت تمامی اصطلاحات واژهنامه علمی' })
|
||||
getScientificTerms() {
|
||||
|
||||
Reference in new issue
Block a user