How saad-nidae/nidae-saad-comp-2327-project works
This is a PySide6 teller-facing bank client-services app. The main workflow is teller launch → client-number lookup → account/status display → open an active account → confirm a deposit or withdrawal → update the displayed balance. The repository also models credit-card and bank-transfer transactions, fee strategies, and transaction events/listeners, although those transaction types are not shown as part of the teller dialog workflow. Client data is embedded in the window rather than persisted to a database. Some links for unsampled modules rely on the SOURCE INDEX or README rather than inspected implementation excerpts.
Main entry points: client_services_window.py Client services · credit_card_transaction.py Credit-card transaction · transactions.py Transaction base · bank_account.py Bank account
Components 20
Teller interface
- Application entry
main.py - Client services
ui/client_services_window.py - Main window
ui/base/main_window.py - About dialog
ui/about_dialog.py - Account transaction dialog
ui/client_transaction_dialog.py - Transaction dialog base
ui/base/transaction_dialog.py
Client accounts
- Client model
account/client.py - Bank account
account/bank_account.py - Account status
account/account_status.py
Transaction domain
- Transaction base
transaction/transactions.py - Credit-card transaction
transaction/credit_card_transaction.py - Bank-transfer transaction
transaction/bank_transfer_transaction.py - Transaction status
transaction/transaction_status.py
Fee strategies
- Fee strategy interface
fee/fee_strategy.py - Base percentage fee
fee/base_percentage_fee_strategy.py - Percentage fee
fee/percentage_fee_strategy.py
Transaction events
- Processed event
events/event.py - Event listener
events/event_listener.py - Logging listener
events/logging_listener.py
Other components
- Teller
Connections 26
- Teller → Application entry: launches
README.md - Application entry → Client services: starts
main.py - Client services → Main window: inherits
ui/client_services_window.py - Client services → Client model: creates
ui/client_services_window.py - Client services → Bank account: creates
ui/client_services_window.py - Client services → Account status: checks
ui/client_services_window.py - Client services → Account transaction dialog: opens
ui/client_services_window.py - Client services → About dialog: opens
ui/client_services_window.py - Account transaction dialog → Transaction dialog base: inherits
ui/client_transaction_dialog.py - Account transaction dialog → Bank account: deposits or withdraws
ui/client_transaction_dialog.py - Credit-card transaction → Transaction base: inherits
transaction/credit_card_transaction.py - Bank-transfer transaction → Transaction base: inherits
transaction/bank_transfer_transaction.py - Transaction base → Bank account: uses
transaction/transactions.py - Transaction base → Processed event: creates
transaction/transactions.py - Transaction base → Fee strategy interface: calculates fees with
transaction/transactions.py - Credit-card transaction → Bank account: withdraws from
transaction/credit_card_transaction.py - Credit-card transaction → Account status: checks
transaction/credit_card_transaction.py - Credit-card transaction → Transaction status: sets status
transaction/credit_card_transaction.py - Credit-card transaction → Percentage fee: configures
transaction/credit_card_transaction.py - Bank-transfer transaction → Bank account: uses
transaction/bank_transfer_transaction.py - Bank-transfer transaction → Transaction status: uses
transaction/bank_transfer_transaction.py - Bank-transfer transaction → Base percentage fee: uses
transaction/bank_transfer_transaction.py - Base percentage fee → Fee strategy interface: implements
fee/base_percentage_fee_strategy.py - Percentage fee → Fee strategy interface: implements
fee/percentage_fee_strategy.py - Processed event → Event listener: notifies
events/event.py - Logging listener → Event listener: implements
events/logging_listener.py