Refactor: Remove stored procedures and replace with direct database operations
feat: Add economic code and guild information to sales invoice selection fix: Update error messages for invoice access and creation to use "صورتحساب" fix: Change error messages in SaleInvoicesService to use "صورتحساب" instead of "فاکتور" fix: Update error messages in SalesInvoicesService for not found cases to use "صورتحساب" fix: Modify TSP service to handle invoice updates and error messages consistently with "صورتحساب" fix: Update common DTO descriptions to refer to "صورتحساب" instead of "فاکتور" fix: Adjust utility functions to handle invoice references and error messages with "صورتحساب"
This commit is contained in:
@@ -21,7 +21,7 @@ export class SharedSaleInvoiceAccessService {
|
||||
})
|
||||
|
||||
if (!consumer) {
|
||||
throw new BadRequestException('شما دسترسی لازم برای ارسال فاکتور را ندارید.')
|
||||
throw new BadRequestException('شما دسترسی لازم برای ارسال صورتحساب را ندارید.')
|
||||
}
|
||||
|
||||
return consumer.consumer_id
|
||||
|
||||
Reference in New Issue
Block a user