Skip to content

Commit

Permalink
change query banking
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuttlas90 committed Aug 31, 2024
1 parent d86b268 commit 76e25f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/helper/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ def get_quarterly_banking_profit_ratio(self, dollar = False):
INNER JOIN table_code ON public.all_data.table_id = table_code.id
where
public.all_data.row_title IN ('جمع درآمدهای عملیاتی','سود(زیان) ناخالص','سود(زیان) خالص')
and public.all_data.sell_type IN ('عملیات در حال تداوم:','عملیات متوقف شده:','هزینه ها')
and stocks.name = '{self.name}'
and (public.report_list.\"letterCode\" = 'ن-۱۰')
and public.all_data.deleted = false
Expand Down

0 comments on commit 76e25f1

Please sign in to comment.