new api service and logic implemented

This commit is contained in:
2025-01-23 22:27:25 +03:00
parent d91ecda9df
commit 32022ca521
245 changed files with 28004 additions and 0 deletions

View File

@@ -0,0 +1,388 @@
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
AccountBooksLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"country": "Ülke",
"branch_type": "Şube Türü",
"company_id": "Şirket ID",
"company_uu_id": "Şirket UU ID",
"branch_id": "Şube ID",
"branch_uu_id": "Şube UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"country": "Country",
"branch_type": "Branch Type",
"company_id": "Company ID",
"company_uu_id": "Company UU ID",
"branch_id": "Branch ID",
"branch_uu_id": "Branch UU ID",
},
)
AccountCodesLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"account_code": "Hesap Kodu",
"comment_line": "Yorum Satırı",
"is_receive_or_debit": "Alacak veya Borç",
"product_id": "Ürün ID",
"nvi_id": "Nvi ID",
"status_id": "Durum ID",
"account_code_seperator": "Hesap Kodu Ayırıcı",
"system_id": "Sistem ID",
"locked": "Kilitli",
"company_id": "Şirket ID",
"company_uu_id": "Şirket UU ID",
"customer_id": "Müşteri ID",
"customer_uu_id": "Müşteri UU ID",
"person_id": "Kişi ID",
"person_uu_id": "Kişi UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"account_code": "Account Code",
"comment_line": "Comment Line",
"is_receive_or_debit": "Is Receive or Debit",
"product_id": "Product ID",
"nvi_id": "Nvi ID",
"status_id": "Status ID",
"account_code_seperator": "Account Code Seperator",
"system_id": "System ID",
"locked": "Locked",
"company_id": "Company ID",
"company_uu_id": "Company UU ID",
"customer_id": "Customer ID",
"customer_uu_id": "Customer UU ID",
"person_id": "Person ID",
"person_uu_id": "Person UU ID",
},
)
AccountCodeParserLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"account_code_1": "Hesap Kodu 1",
"account_code_2": "Hesap Kodu 2",
"account_code_3": "Hesap Kodu 3",
"account_code_4": "Hesap Kodu 4",
"account_code_5": "Hesap Kodu 5",
"account_code_6": "Hesap Kodu 6",
"account_code_id": "Hesap Kodu ID",
"account_code_uu_id": "Hesap Kodu UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"account_code_1": "Account Code 1",
"account_code_2": "Account Code 2",
"account_code_3": "Account Code 3",
"account_code_4": "Account Code 4",
"account_code_5": "Account Code 5",
"account_code_6": "Account Code 6",
"account_code_id": "Account Code ID",
"account_code_uu_id": "Account Code UU ID",
},
)
AccountMasterLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"doc_date": "Belge Tarihi",
"plug_type": "Fiş Türü",
"plug_number": "Fiş Numarası",
"special_code": "Özel Kod",
"authorization_code": "Yetki Kodu",
"doc_code": "Belge Kodu",
"doc_type": "Belge Türü",
"comment_line1": "Yorum Satırı 1",
"comment_line2": "Yorum Satırı 2",
"comment_line3": "Yorum Satırı 3",
"comment_line4": "Yorum Satırı 4",
"comment_line5": "Yorum Satırı 5",
"comment_line6": "Yorum Satırı 6",
"project_code": "Proje Kodu",
"module_no": "Modül No",
"journal_no": "Defter No",
"status_id": "Durum ID",
"canceled": "İptal Edildi",
"print_count": "Yazdırma Sayısı",
"total_active": "Toplam Aktif",
"total_passive": "Toplam Pasif",
"total_active_1": "Toplam Aktif 1",
"total_passive_1": "Toplam Pasif 1",
"total_active_2": "Toplam Aktif 2",
"total_passive_2": "Toplam Pasif 2",
"total_active_3": "Toplam Aktif 3",
"total_passive_3": "Toplam Pasif 3",
"total_active_4": "Toplam Aktif 4",
"total_passive_4": "Toplam Pasif 4",
"cross_ref": "Çapraz Referans",
"data_center_id": "Veri Merkezi ID",
"data_center_rec_num": "Veri Merkezi Kayıt Numarası",
"account_header_id": "Hesap Başlığı ID",
"account_header_uu_id": "Hesap Başlığı UU ID",
"project_item_id": "Proje Öğesi ID",
"project_item_uu_id": "Proje Öğesi UU ID",
"department_id": "Departman ID",
"department_uu_id": "Departman UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"doc_date": "Document Date",
"plug_type": "Plug Type",
"plug_number": "Plug Number",
"special_code": "Special Code",
"authorization_code": "Authorization Code",
"doc_code": "Document Code",
"doc_type": "Document Type",
"comment_line1": "Comment Line 1",
"comment_line2": "Comment Line 2",
"comment_line3": "Comment Line 3",
"comment_line4": "Comment Line 4",
"comment_line5": "Comment Line 5",
"comment_line6": "Comment Line 6",
"project_code": "Project Code",
"module_no": "Module No",
"journal_no": "Journal No",
"status_id": "Status ID",
"canceled": "Canceled",
"print_count": "Print Count",
"total_active": "Total Active",
"total_passive": "Total Passive",
"total_active_1": "Total Active 1",
"total_passive_1": "Total Passive 1",
"total_active_2": "Total Active 2",
"total_passive_2": "Total Passive 2",
"total_active_3": "Total Active 3",
"total_passive_3": "Total Passive 3",
"total_active_4": "Total Active 4",
"total_passive_4": "Total Passive 4",
"cross_ref": "Cross Reference",
"data_center_id": "Data Center ID",
"data_center_rec_num": "Data Center Record Number",
"account_header_id": "Account Header ID",
"account_header_uu_id": "Account Header UU ID",
"project_item_id": "Project Item ID",
"project_item_uu_id": "Project Item UU ID",
"department_id": "Department ID",
"department_uu_id": "Department UU ID",
},
)
AccountDetailLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"doc_date": "Belge Tarihi",
"plug_type": "Fiş Türü",
"plug_number": "Fiş Numarası",
"special_code": "Özel Kod",
"authorization_code": "Yetki Kodu",
"doc_code": "Belge Kodu",
"doc_type": "Belge Türü",
"comment_line1": "Yorum Satırı 1",
"comment_line2": "Yorum Satırı 2",
"comment_line3": "Yorum Satırı 3",
"comment_line4": "Yorum Satırı 4",
"comment_line5": "Yorum Satırı 5",
"comment_line6": "Yorum Satırı 6",
"project_code": "Proje Kodu",
"module_no": "Modül No",
"journal_no": "Defter No",
"status_id": "Durum ID",
"canceled": "İptal Edildi",
"print_count": "Yazdırma Sayısı",
"total_active": "Toplam Aktif",
"total_passive": "Toplam Pasif",
"total_active_1": "Toplam Aktif 1",
"total_passive_1": "Toplam Pasif 1",
"total_active_2": "Toplam Aktif 2",
"total_passive_2": "Toplam Pasif 2",
"total_active_3": "Toplam Aktif 3",
"total_passive_3": "Toplam Pasif 3",
"total_active_4": "Toplam Aktif 4",
"total_passive_4": "Toplam Pasif 4",
"cross_ref": "Çapraz Referans",
"data_center_id": "Veri Merkezi ID",
"data_center_rec_num": "Veri Merkezi Kayıt Numarası",
"account_header_id": "Hesap Başlığı ID",
"account_header_uu_id": "Hesap Başlığı UU ID",
"project_item_id": "Proje Öğesi ID",
"project_item_uu_id": "Proje Öğesi UU ID",
"department_id": "Departman ID",
"department_uu_id": "Departman UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"doc_date": "Document Date",
"plug_type": "Plug Type",
"plug_number": "Plug Number",
"special_code": "Special Code",
"authorization_code": "Authorization Code",
"doc_code": "Document Code",
"doc_type": "Document Type",
"comment_line1": "Comment Line 1",
"comment_line2": "Comment Line 2",
"comment_line3": "Comment Line 3",
"comment_line4": "Comment Line 4",
"comment_line5": "Comment Line 5",
"comment_line6": "Comment Line 6",
"project_code": "Project Code",
"module_no": "Module No",
"journal_no": "Journal No",
"status_id": "Status ID",
"canceled": "Canceled",
"print_count": "Print Count",
"total_active": "Total Active",
"total_passive": "Total Passive",
"total_active_1": "Total Active 1",
"total_passive_1": "Total Passive 1",
"total_active_2": "Total Active 2",
"total_passive_2": "Total Passive 2",
"total_active_3": "Total Active 3",
"total_passive_3": "Total Passive 3",
"total_active_4": "Total Active 4",
"total_passive_4": "Total Passive 4",
"cross_ref": "Cross Reference",
"data_center_id": "Data Center ID",
"data_center_rec_num": "Data Center Record Number",
"account_header_id": "Account Header ID",
"account_header_uu_id": "Account Header UU ID",
"project_item_id": "Project Item ID",
"project_item_uu_id": "Project Item UU ID",
"department_id": "Department ID",
"department_uu_id": "Department UU ID",
},
)
AccountRecordsLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"iban": "IBAN",
"bank_date": "Banka Tarihi",
"currency_value": "Döviz Değeri",
"bank_balance": "Banka Bakiyesi",
"currency": "Döviz",
"additional_balance": "Ek Bakiye",
"channel_branch": "Kanal Şubesi",
"process_name": "İşlem Türü Adı",
"process_type": "İşlem Türü",
"process_comment": "İşlem Kayıt Yorumu",
"process_garbage": "İşlem Kayıt Çöpü",
"bank_reference_code": "Banka Referans Kodu",
"add_comment_note": "Yorum Not Ekle",
"is_receipt_mail_send": "Alındı Mail Gönderildi",
"found_from": "Bulunduğu",
"similarity": "Benzerlik",
"remainder_balance": "Kalan Bakiye",
"bank_date_y": "Banka Tarihi Yıl",
"bank_date_m": "Banka Tarihi Ay",
"bank_date_w": "Banka Tarihi Hafta",
"bank_date_d": "Banka Tarihi Gün",
"approving_accounting_record": "Onaylayan Muhasebe Kaydı",
"accounting_receipt_date": "Muhasebe Alındı Tarihi",
"accounting_receipt_number": "Muhasebe Alındı Numarası",
"status_id": "Durum ID",
"approved_record": "Onaylanmış Kayıt",
"import_file_name": "İçe Aktarım Dosya Adı",
"receive_debit": "Alacak Borç",
"receive_debit_uu_id": "Alacak Borç UU ID",
"budget_type": "Bütçe Türü",
"budget_type_uu_id": "Bütçe Türü UU ID",
"company_id": "Şirket ID",
"company_uu_id": "Şirket UU ID",
"send_company_id": "Gönderen Şirket ID",
"send_company_uu_id": "Gönderen Şirket UU ID",
"send_person_id": "Gönderen Kişi ID",
"send_person_uu_id": "Gönderen Kişi UU ID",
"approving_accounting_person": "Onaylayan Muhasebe Kişi",
"approving_accounting_person_uu_id": "Onaylayan Muhasebe Kişi UU ID",
"living_space_id": "Yaşam Alanı ID",
"living_space_uu_id": "Yaşam Alanı UU ID",
"customer_id": "Müşteri ID",
"customer_uu_id": "Müşteri UU ID",
"build_id": "Bina ID",
"build_uu_id": "Bina UU ID",
"build_parts_id": "Bina Parça ID",
"build_parts_uu_id": "Bina Parça UU ID",
"build_decision_book_id": "Bina Karar Defteri ID",
"build_decision_book_uu_id": "Bina Karar Defteri UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"iban": "IBAN",
"bank_date": "Bank Date",
"currency_value": "Currency Value",
"bank_balance": "Bank Balance",
"currency": "Currency",
"additional_balance": "Additional Balance",
"channel_branch": "Channel Branch",
"process_name": "Process Type Name",
"process_type": "Process Type",
"process_comment": "Process Record Comment",
"process_garbage": "Process Record Garbage",
"bank_reference_code": "Bank Reference Code",
"add_comment_note": "Add Comment Note",
"is_receipt_mail_send": "Is Receipt Mail Send",
"found_from": "Found From",
"similarity": "Similarity",
"remainder_balance": "Remainder Balance",
"bank_date_y": "Bank Date Year",
"bank_date_m": "Bank Date Month",
"bank_date_w": "Bank Date Week",
"bank_date_d": "Bank Date Day",
"approving_accounting_record": "Approving Accounting Record",
"accounting_receipt_date": "Accounting Receipt Date",
"accounting_receipt_number": "Accounting Receipt Number",
"status_id": "Status ID",
"approved_record": "Approved Record",
"import_file_name": "Import File Name",
"receive_debit": "Receive Debit",
"receive_debit_uu_id": "Receive Debit UU ID",
"budget_type": "Budget Type",
"budget_type_uu_id": "Budget Type UU ID",
"company_id": "Company ID",
"company_uu_id": "Company UU ID",
"send_company_id": "Send Company ID",
"send_company_uu_id": "Send Company UU ID",
"send_person_id": "Send Person ID",
"send_person_uu_id": "Send Person UU ID",
"approving_accounting_person": "Approving Accounting Person",
"approving_accounting_person_uu_id": "Approving Accounting Person UU ID",
"living_space_id": "Living Space ID",
"living_space_uu_id": "Living Space UU ID",
"customer_id": "Customer ID",
"customer_uu_id": "Customer UU ID",
"build_id": "Build ID",
"build_uu_id": "Build UU ID",
"build_parts_id": "Build Parts ID",
"build_parts_uu_id": "Build Parts UU ID",
"build_decision_book_id": "Build Decision Book ID",
"build_decision_book_uu_id": "Build Decision Book UU ID",
},
)
AccountRecordExchangesLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"are_currency": "Para Birimi",
"are_exchange_rate": "Döviz Kuru",
"usd_exchange_rate_value": "USD Döviz Kuru Değeri",
"eur_exchange_rate_value": "EUR Döviz Kuru Değeri",
"gbp_exchange_rate_value": "GBP Döviz Kuru Değeri",
"cny_exchange_rate_value": "CNY Döviz Kuru Değeri",
"account_records_id": "Hesap Kayıt ID",
"account_records_uu_id": "Hesap Kayıt UU ID",
},
en={
**CrudCollectionLanguageModel["en"],
"are_currency": "Currency",
"are_exchange_rate": "Exchange Rate",
"usd_exchange_rate_value": "USD Exchange Rate Value",
"eur_exchange_rate_value": "EUR Exchange Rate Value",
"gbp_exchange_rate_value": "GBP Exchange Rate Value",
"cny_exchange_rate_value": "CNY Exchange Rate Value",
"account_records_id": "Account Record ID",
"account_records_uu_id": "Account Record UU ID",
},
)