diff --git a/accounting/__pycache__/__init__.cpython-311.pyc b/accounting/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index a3bd12c..0000000 Binary files a/accounting/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/admin.cpython-311.pyc b/accounting/__pycache__/admin.cpython-311.pyc deleted file mode 100644 index 6acedcb..0000000 Binary files a/accounting/__pycache__/admin.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/apps.cpython-311.pyc b/accounting/__pycache__/apps.cpython-311.pyc deleted file mode 100644 index f7a4f42..0000000 Binary files a/accounting/__pycache__/apps.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/forms.cpython-311.pyc b/accounting/__pycache__/forms.cpython-311.pyc deleted file mode 100644 index 30491c1..0000000 Binary files a/accounting/__pycache__/forms.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/models.cpython-311.pyc b/accounting/__pycache__/models.cpython-311.pyc deleted file mode 100644 index 8b3540f..0000000 Binary files a/accounting/__pycache__/models.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/signals.cpython-311.pyc b/accounting/__pycache__/signals.cpython-311.pyc deleted file mode 100644 index 9452ace..0000000 Binary files a/accounting/__pycache__/signals.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/urls.cpython-311.pyc b/accounting/__pycache__/urls.cpython-311.pyc deleted file mode 100644 index 2953fcd..0000000 Binary files a/accounting/__pycache__/urls.cpython-311.pyc and /dev/null differ diff --git a/accounting/__pycache__/views.cpython-311.pyc b/accounting/__pycache__/views.cpython-311.pyc deleted file mode 100644 index d619044..0000000 Binary files a/accounting/__pycache__/views.cpython-311.pyc and /dev/null differ diff --git a/accounting/management/__pycache__/__init__.cpython-311.pyc b/accounting/management/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 1901e74..0000000 Binary files a/accounting/management/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/accounting/migrations/__pycache__/0001_initial.cpython-311.pyc b/accounting/migrations/__pycache__/0001_initial.cpython-311.pyc deleted file mode 100644 index 6fd60ef..0000000 Binary files a/accounting/migrations/__pycache__/0001_initial.cpython-311.pyc and /dev/null differ diff --git a/accounting/migrations/__pycache__/__init__.cpython-311.pyc b/accounting/migrations/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index d94ad5b..0000000 Binary files a/accounting/migrations/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/config/__pycache__/__init__.cpython-311.pyc b/config/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 423a636..0000000 Binary files a/config/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc deleted file mode 100644 index d5408c1..0000000 Binary files a/config/__pycache__/settings.cpython-311.pyc and /dev/null differ diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc deleted file mode 100644 index 3849c1c..0000000 Binary files a/config/__pycache__/urls.cpython-311.pyc and /dev/null differ diff --git a/config/__pycache__/wsgi.cpython-311.pyc b/config/__pycache__/wsgi.cpython-311.pyc deleted file mode 100644 index 51042d5..0000000 Binary files a/config/__pycache__/wsgi.cpython-311.pyc and /dev/null differ diff --git a/config/wsgi.py b/config/wsgi.py index feef8fc..98aa4bc 100644 --- a/config/wsgi.py +++ b/config/wsgi.py @@ -22,19 +22,14 @@ except ImportError: os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') -# Patch for WeasyPrint libraries -try: - import ctypes - import ctypes.util - for lib in ['gobject-2.0', 'pango-1.0', 'cairo', 'harfbuzz', 'fontconfig']: - path = ctypes.util.find_library(lib) +# Patch for WeasyPrint libraries (libgobject-2.0, pango, cairo, etc.) +for lib_name in ['gobject-2.0', 'pango-1.0', 'cairo', 'harfbuzz', 'fontconfig']: + try: + path = ctypes.util.find_library(lib_name) if path: - try: - ctypes.CDLL(path) - except OSError: - pass -except Exception: - pass + ctypes.CDLL(path) + except Exception: + pass from django.core.wsgi import get_wsgi_application diff --git a/core/__pycache__/__init__.cpython-311.pyc b/core/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 74b1112..0000000 Binary files a/core/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/admin.cpython-311.pyc b/core/__pycache__/admin.cpython-311.pyc deleted file mode 100644 index 262dcde..0000000 Binary files a/core/__pycache__/admin.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/apps.cpython-311.pyc b/core/__pycache__/apps.cpython-311.pyc deleted file mode 100644 index ed8da76..0000000 Binary files a/core/__pycache__/apps.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/context_processors.cpython-311.pyc b/core/__pycache__/context_processors.cpython-311.pyc deleted file mode 100644 index 43aa9a8..0000000 Binary files a/core/__pycache__/context_processors.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/forms.cpython-311.pyc b/core/__pycache__/forms.cpython-311.pyc deleted file mode 100644 index 7c18c37..0000000 Binary files a/core/__pycache__/forms.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/forms_import.cpython-311.pyc b/core/__pycache__/forms_import.cpython-311.pyc deleted file mode 100644 index 2f953e9..0000000 Binary files a/core/__pycache__/forms_import.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/helpers.cpython-311.pyc b/core/__pycache__/helpers.cpython-311.pyc deleted file mode 100644 index 0185b30..0000000 Binary files a/core/__pycache__/helpers.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc deleted file mode 100644 index c269e3d..0000000 Binary files a/core/__pycache__/models.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc deleted file mode 100644 index ef3970e..0000000 Binary files a/core/__pycache__/urls.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/utils.cpython-311.pyc b/core/__pycache__/utils.cpython-311.pyc deleted file mode 100644 index 673ef22..0000000 Binary files a/core/__pycache__/utils.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc deleted file mode 100644 index 4e9bdf3..0000000 Binary files a/core/__pycache__/views.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/views_import.cpython-311.pyc b/core/__pycache__/views_import.cpython-311.pyc deleted file mode 100644 index 55bc085..0000000 Binary files a/core/__pycache__/views_import.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0001_initial.cpython-311.pyc b/core/migrations/__pycache__/0001_initial.cpython-311.pyc deleted file mode 100644 index c78be3d..0000000 Binary files a/core/migrations/__pycache__/0001_initial.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0002_systemsetting.cpython-311.pyc b/core/migrations/__pycache__/0002_systemsetting.cpython-311.pyc deleted file mode 100644 index 1c9f1b7..0000000 Binary files a/core/migrations/__pycache__/0002_systemsetting.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0003_remove_systemsetting_logo_url_systemsetting_logo_and_more.cpython-311.pyc b/core/migrations/__pycache__/0003_remove_systemsetting_logo_url_systemsetting_logo_and_more.cpython-311.pyc deleted file mode 100644 index b43ca66..0000000 Binary files a/core/migrations/__pycache__/0003_remove_systemsetting_logo_url_systemsetting_logo_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0004_unit_product_unit.cpython-311.pyc b/core/migrations/__pycache__/0004_unit_product_unit.cpython-311.pyc deleted file mode 100644 index b80601f..0000000 Binary files a/core/migrations/__pycache__/0004_unit_product_unit.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0005_product_cost_price_product_is_active_and_more.cpython-311.pyc b/core/migrations/__pycache__/0005_product_cost_price_product_is_active_and_more.cpython-311.pyc deleted file mode 100644 index c5a7875..0000000 Binary files a/core/migrations/__pycache__/0005_product_cost_price_product_is_active_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0006_purchase_balance_due_purchase_due_date_and_more.cpython-311.pyc b/core/migrations/__pycache__/0006_purchase_balance_due_purchase_due_date_and_more.cpython-311.pyc deleted file mode 100644 index f09ea95..0000000 Binary files a/core/migrations/__pycache__/0006_purchase_balance_due_purchase_due_date_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0007_sale_balance_due_sale_due_date_sale_invoice_number_and_more.cpython-311.pyc b/core/migrations/__pycache__/0007_sale_balance_due_sale_due_date_sale_invoice_number_and_more.cpython-311.pyc deleted file mode 100644 index f1d228d..0000000 Binary files a/core/migrations/__pycache__/0007_sale_balance_due_sale_due_date_sale_invoice_number_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0008_quotation_sale_quotation_quotationitem.cpython-311.pyc b/core/migrations/__pycache__/0008_quotation_sale_quotation_quotationitem.cpython-311.pyc deleted file mode 100644 index b628003..0000000 Binary files a/core/migrations/__pycache__/0008_quotation_sale_quotation_quotationitem.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0009_purchasereturn_purchasereturnitem_salereturn_and_more.cpython-311.pyc b/core/migrations/__pycache__/0009_purchasereturn_purchasereturnitem_salereturn_and_more.cpython-311.pyc deleted file mode 100644 index 40e202f..0000000 Binary files a/core/migrations/__pycache__/0009_purchasereturn_purchasereturnitem_salereturn_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0010_purchase_created_by_purchasepayment_created_by_and_more.cpython-311.pyc b/core/migrations/__pycache__/0010_purchase_created_by_purchasepayment_created_by_and_more.cpython-311.pyc deleted file mode 100644 index 44cd063..0000000 Binary files a/core/migrations/__pycache__/0010_purchase_created_by_purchasepayment_created_by_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0011_paymentmethod_purchasepayment_payment_method_name_and_more.cpython-311.pyc b/core/migrations/__pycache__/0011_paymentmethod_purchasepayment_payment_method_name_and_more.cpython-311.pyc deleted file mode 100644 index 58d28f2..0000000 Binary files a/core/migrations/__pycache__/0011_paymentmethod_purchasepayment_payment_method_name_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0012_systemsetting_decimal_places.cpython-311.pyc b/core/migrations/__pycache__/0012_systemsetting_decimal_places.cpython-311.pyc deleted file mode 100644 index 4e228af..0000000 Binary files a/core/migrations/__pycache__/0012_systemsetting_decimal_places.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0013_heldsale.cpython-311.pyc b/core/migrations/__pycache__/0013_heldsale.cpython-311.pyc deleted file mode 100644 index 6e6f10f..0000000 Binary files a/core/migrations/__pycache__/0013_heldsale.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0014_loyaltytier_customer_loyalty_points_and_more.cpython-311.pyc b/core/migrations/__pycache__/0014_loyaltytier_customer_loyalty_points_and_more.cpython-311.pyc deleted file mode 100644 index 43af3a2..0000000 Binary files a/core/migrations/__pycache__/0014_loyaltytier_customer_loyalty_points_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0015_userprofile.cpython-311.pyc b/core/migrations/__pycache__/0015_userprofile.cpython-311.pyc deleted file mode 100644 index b53d0c3..0000000 Binary files a/core/migrations/__pycache__/0015_userprofile.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0016_expensecategory_expense.cpython-311.pyc b/core/migrations/__pycache__/0016_expensecategory_expense.cpython-311.pyc deleted file mode 100644 index 4a3e0c7..0000000 Binary files a/core/migrations/__pycache__/0016_expensecategory_expense.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0017_expensecategory_accounting_account.cpython-311.pyc b/core/migrations/__pycache__/0017_expensecategory_accounting_account.cpython-311.pyc deleted file mode 100644 index 3709cf9..0000000 Binary files a/core/migrations/__pycache__/0017_expensecategory_accounting_account.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0018_systemsetting_wablas_enabled_and_more.cpython-311.pyc b/core/migrations/__pycache__/0018_systemsetting_wablas_enabled_and_more.cpython-311.pyc deleted file mode 100644 index d5542d8..0000000 Binary files a/core/migrations/__pycache__/0018_systemsetting_wablas_enabled_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0019_systemsetting_wablas_secret_key.cpython-311.pyc b/core/migrations/__pycache__/0019_systemsetting_wablas_secret_key.cpython-311.pyc deleted file mode 100644 index 5071d30..0000000 Binary files a/core/migrations/__pycache__/0019_systemsetting_wablas_secret_key.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0020_product_expiry_date_product_has_expiry_and_more.cpython-311.pyc b/core/migrations/__pycache__/0020_product_expiry_date_product_has_expiry_and_more.cpython-311.pyc deleted file mode 100644 index 3026924..0000000 Binary files a/core/migrations/__pycache__/0020_product_expiry_date_product_has_expiry_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0021_product_min_stock_level.cpython-311.pyc b/core/migrations/__pycache__/0021_product_min_stock_level.cpython-311.pyc deleted file mode 100644 index 64c5b46..0000000 Binary files a/core/migrations/__pycache__/0021_product_min_stock_level.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0022_alter_product_min_stock_level_and_more.cpython-311.pyc b/core/migrations/__pycache__/0022_alter_product_min_stock_level_and_more.cpython-311.pyc deleted file mode 100644 index c6ec414..0000000 Binary files a/core/migrations/__pycache__/0022_alter_product_min_stock_level_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0023_alter_product_min_stock_level_and_more.cpython-311.pyc b/core/migrations/__pycache__/0023_alter_product_min_stock_level_and_more.cpython-311.pyc deleted file mode 100644 index 26d8ee4..0000000 Binary files a/core/migrations/__pycache__/0023_alter_product_min_stock_level_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0024_device.cpython-311.pyc b/core/migrations/__pycache__/0024_device.cpython-311.pyc deleted file mode 100644 index d4cf2e1..0000000 Binary files a/core/migrations/__pycache__/0024_device.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0025_sale_subtotal_sale_vat_amount.cpython-311.pyc b/core/migrations/__pycache__/0025_sale_subtotal_sale_vat_amount.cpython-311.pyc deleted file mode 100644 index 75a16e0..0000000 Binary files a/core/migrations/__pycache__/0025_sale_subtotal_sale_vat_amount.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0026_purchaseorder_purchase_purchase_order_and_more.cpython-311.pyc b/core/migrations/__pycache__/0026_purchaseorder_purchase_purchase_order_and_more.cpython-311.pyc deleted file mode 100644 index c056e18..0000000 Binary files a/core/migrations/__pycache__/0026_purchaseorder_purchase_purchase_order_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0027_alter_device_device_type_cashiercounterregistry.cpython-311.pyc b/core/migrations/__pycache__/0027_alter_device_device_type_cashiercounterregistry.cpython-311.pyc deleted file mode 100644 index 27d6ffb..0000000 Binary files a/core/migrations/__pycache__/0027_alter_device_device_type_cashiercounterregistry.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0028_cashiersession.cpython-311.pyc b/core/migrations/__pycache__/0028_cashiersession.cpython-311.pyc deleted file mode 100644 index a2bff5d..0000000 Binary files a/core/migrations/__pycache__/0028_cashiersession.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0029_systemsetting_allow_zero_stock_sales.cpython-311.pyc b/core/migrations/__pycache__/0029_systemsetting_allow_zero_stock_sales.cpython-311.pyc deleted file mode 100644 index e04dc0a..0000000 Binary files a/core/migrations/__pycache__/0029_systemsetting_allow_zero_stock_sales.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0030_salepayment_created_at_purchasepayment_created_at.cpython-311.pyc b/core/migrations/__pycache__/0030_salepayment_created_at_purchasepayment_created_at.cpython-311.pyc deleted file mode 100644 index 0b0e56f..0000000 Binary files a/core/migrations/__pycache__/0030_salepayment_created_at_purchasepayment_created_at.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0031_create_superuser.cpython-311.pyc b/core/migrations/__pycache__/0031_create_superuser.cpython-311.pyc deleted file mode 100644 index 0d5bf84..0000000 Binary files a/core/migrations/__pycache__/0031_create_superuser.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0032_product_is_service.cpython-311.pyc b/core/migrations/__pycache__/0032_product_is_service.cpython-311.pyc deleted file mode 100644 index 552e2fb..0000000 Binary files a/core/migrations/__pycache__/0032_product_is_service.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0033_auto_add_is_service.cpython-311.pyc b/core/migrations/__pycache__/0033_auto_add_is_service.cpython-311.pyc deleted file mode 100644 index 12fd64b..0000000 Binary files a/core/migrations/__pycache__/0033_auto_add_is_service.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0034_systemsetting_favicon.cpython-311.pyc b/core/migrations/__pycache__/0034_systemsetting_favicon.cpython-311.pyc deleted file mode 100644 index 33d3b18..0000000 Binary files a/core/migrations/__pycache__/0034_systemsetting_favicon.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/0035_remove_heldsale_customer_remove_heldsale_notes_and_more.cpython-311.pyc b/core/migrations/__pycache__/0035_remove_heldsale_customer_remove_heldsale_notes_and_more.cpython-311.pyc deleted file mode 100644 index 43d20d4..0000000 Binary files a/core/migrations/__pycache__/0035_remove_heldsale_customer_remove_heldsale_notes_and_more.cpython-311.pyc and /dev/null differ diff --git a/core/migrations/__pycache__/__init__.cpython-311.pyc b/core/migrations/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 9c833c8..0000000 Binary files a/core/migrations/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/__init__.cpython-311.pyc b/hr/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 5adfd28..0000000 Binary files a/hr/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/admin.cpython-311.pyc b/hr/__pycache__/admin.cpython-311.pyc deleted file mode 100644 index 76b352d..0000000 Binary files a/hr/__pycache__/admin.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/apps.cpython-311.pyc b/hr/__pycache__/apps.cpython-311.pyc deleted file mode 100644 index 658a5dc..0000000 Binary files a/hr/__pycache__/apps.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/forms.cpython-311.pyc b/hr/__pycache__/forms.cpython-311.pyc deleted file mode 100644 index 61b6823..0000000 Binary files a/hr/__pycache__/forms.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/models.cpython-311.pyc b/hr/__pycache__/models.cpython-311.pyc deleted file mode 100644 index 32b6730..0000000 Binary files a/hr/__pycache__/models.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/urls.cpython-311.pyc b/hr/__pycache__/urls.cpython-311.pyc deleted file mode 100644 index d9be205..0000000 Binary files a/hr/__pycache__/urls.cpython-311.pyc and /dev/null differ diff --git a/hr/__pycache__/views.cpython-311.pyc b/hr/__pycache__/views.cpython-311.pyc deleted file mode 100644 index 121ae91..0000000 Binary files a/hr/__pycache__/views.cpython-311.pyc and /dev/null differ diff --git a/hr/migrations/__pycache__/0001_initial.cpython-311.pyc b/hr/migrations/__pycache__/0001_initial.cpython-311.pyc deleted file mode 100644 index 1f03fbb..0000000 Binary files a/hr/migrations/__pycache__/0001_initial.cpython-311.pyc and /dev/null differ diff --git a/hr/migrations/__pycache__/0002_biometricdevice_attendance_device.cpython-311.pyc b/hr/migrations/__pycache__/0002_biometricdevice_attendance_device.cpython-311.pyc deleted file mode 100644 index 9d38cfb..0000000 Binary files a/hr/migrations/__pycache__/0002_biometricdevice_attendance_device.cpython-311.pyc and /dev/null differ diff --git a/hr/migrations/__pycache__/0003_employee_biometric_id_and_more.cpython-311.pyc b/hr/migrations/__pycache__/0003_employee_biometric_id_and_more.cpython-311.pyc deleted file mode 100644 index ae1a250..0000000 Binary files a/hr/migrations/__pycache__/0003_employee_biometric_id_and_more.cpython-311.pyc and /dev/null differ diff --git a/hr/migrations/__pycache__/__init__.cpython-311.pyc b/hr/migrations/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 65b896b..0000000 Binary files a/hr/migrations/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/manage.py b/manage.py index 2bfa9a1..df81532 100755 --- a/manage.py +++ b/manage.py @@ -16,19 +16,16 @@ def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') - # Patch for WeasyPrint libraries - try: - import ctypes - import ctypes.util - for lib in ['gobject-2.0', 'pango-1.0', 'cairo', 'harfbuzz', 'fontconfig']: - path = ctypes.util.find_library(lib) + # Patch for WeasyPrint libraries (libgobject-2.0, pango, cairo, etc.) + import ctypes + import ctypes.util + for lib_name in ['gobject-2.0', 'pango-1.0', 'cairo', 'harfbuzz', 'fontconfig']: + try: + path = ctypes.util.find_library(lib_name) if path: - try: - ctypes.CDLL(path) - except OSError: - pass - except Exception: - pass + ctypes.CDLL(path) + except Exception: + pass try: from django.core.management import execute_from_command_line diff --git a/media/business_logos/albidar-logo.jpg b/media/business_logos/albidar-logo.jpg deleted file mode 100644 index b8e633a..0000000 Binary files a/media/business_logos/albidar-logo.jpg and /dev/null differ diff --git a/media/product_images/بيض.jfif b/media/product_images/بيض.jfif deleted file mode 100644 index bafeb76..0000000 Binary files a/media/product_images/بيض.jfif and /dev/null differ diff --git a/media/product_images/ةهمن.jfif b/media/product_images/ةهمن.jfif deleted file mode 100644 index 01da5c2..0000000 Binary files a/media/product_images/ةهمن.jfif and /dev/null differ diff --git a/media/product_images/ةهمن_et0OoKU.jfif b/media/product_images/ةهمن_et0OoKU.jfif deleted file mode 100644 index 01da5c2..0000000 Binary files a/media/product_images/ةهمن_et0OoKU.jfif and /dev/null differ diff --git a/media/product_images/ةهمن_r3GdN2u.jfif b/media/product_images/ةهمن_r3GdN2u.jfif deleted file mode 100644 index 01da5c2..0000000 Binary files a/media/product_images/ةهمن_r3GdN2u.jfif and /dev/null differ diff --git a/media/product_images/طماطم.jfif b/media/product_images/طماطم.jfif deleted file mode 100644 index c09d01a..0000000 Binary files a/media/product_images/طماطم.jfif and /dev/null differ diff --git a/media/profile_pics/meezan.png b/media/profile_pics/meezan.png deleted file mode 100644 index 3bd1e19..0000000 Binary files a/media/profile_pics/meezan.png and /dev/null differ diff --git a/media/temp_invoices/Invoice_18.pdf b/media/temp_invoices/Invoice_18.pdf deleted file mode 100644 index e5ccacd..0000000 Binary files a/media/temp_invoices/Invoice_18.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770793647.pdf b/media/temp_invoices/invoice_26_1770793647.pdf deleted file mode 100644 index 290bd05..0000000 Binary files a/media/temp_invoices/invoice_26_1770793647.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770794941.pdf b/media/temp_invoices/invoice_26_1770794941.pdf deleted file mode 100644 index e9e9cd8..0000000 Binary files a/media/temp_invoices/invoice_26_1770794941.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770795250.pdf b/media/temp_invoices/invoice_26_1770795250.pdf deleted file mode 100644 index 75605f2..0000000 Binary files a/media/temp_invoices/invoice_26_1770795250.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770795695.pdf b/media/temp_invoices/invoice_26_1770795695.pdf deleted file mode 100644 index 08cf6d9..0000000 Binary files a/media/temp_invoices/invoice_26_1770795695.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770797380.pdf b/media/temp_invoices/invoice_26_1770797380.pdf deleted file mode 100644 index 8748d1e..0000000 Binary files a/media/temp_invoices/invoice_26_1770797380.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770798382.pdf b/media/temp_invoices/invoice_26_1770798382.pdf deleted file mode 100644 index 867f2b8..0000000 Binary files a/media/temp_invoices/invoice_26_1770798382.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770798676.pdf b/media/temp_invoices/invoice_26_1770798676.pdf deleted file mode 100644 index d68ddef..0000000 Binary files a/media/temp_invoices/invoice_26_1770798676.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770802715.pdf b/media/temp_invoices/invoice_26_1770802715.pdf deleted file mode 100644 index 03493d0..0000000 Binary files a/media/temp_invoices/invoice_26_1770802715.pdf and /dev/null differ diff --git a/media/temp_invoices/invoice_26_1770802858.pdf b/media/temp_invoices/invoice_26_1770802858.pdf deleted file mode 100644 index a438d30..0000000 Binary files a/media/temp_invoices/invoice_26_1770802858.pdf and /dev/null differ diff --git a/media/temp_quotations/quotation_1_1770794329.pdf b/media/temp_quotations/quotation_1_1770794329.pdf deleted file mode 100644 index 3cd700e..0000000 Binary files a/media/temp_quotations/quotation_1_1770794329.pdf and /dev/null differ diff --git a/media/temp_quotations/quotation_1_1770797431.pdf b/media/temp_quotations/quotation_1_1770797431.pdf deleted file mode 100644 index 8427444..0000000 Binary files a/media/temp_quotations/quotation_1_1770797431.pdf and /dev/null differ diff --git a/staticfiles/@popperjs/core/LICENSE.md b/staticfiles/@popperjs/core/LICENSE.md deleted file mode 100644 index 0370c45..0000000 --- a/staticfiles/@popperjs/core/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Federico Zivolo - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/staticfiles/@popperjs/core/README.md b/staticfiles/@popperjs/core/README.md deleted file mode 100644 index 53be7b9..0000000 --- a/staticfiles/@popperjs/core/README.md +++ /dev/null @@ -1,376 +0,0 @@ - -
-
-