2025-09-25 22:44:59 +03:00
|
|
|
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SearchForm(StatesGroup):
|
|
|
|
|
search_option = State()
|
|
|
|
|
data_to_search = State()
|
2025-09-26 20:26:48 +03:00
|
|
|
sent_messages = State()
|
2025-09-25 22:44:59 +03:00
|
|
|
search_result = State()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class OrderForm(StatesGroup):
|
|
|
|
|
id = State()
|
|
|
|
|
worker_id = State()
|
|
|
|
|
status_id = State()
|
|
|
|
|
counterparty = State()
|
|
|
|
|
customer = State()
|
|
|
|
|
commencement_work = State()
|
|
|
|
|
end_work = State()
|
|
|
|
|
description = State()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class OrderingForm(StatesGroup):
|
|
|
|
|
tools_list = State()
|
|
|
|
|
|
|
|
|
|
|