Add order entities and mocks for client order feature
Introduces new domain entities for order types and one-time orders, along with their positions. Adds a mock OrderRepository to the data_connect package and wires it into the module. Updates localization files for new order flows and refactors Equatable usage for consistency. Also adds a minus icon to the design system.
This commit is contained in:
@@ -245,6 +245,58 @@
|
||||
"recurring_desc": "Ongoing Weekly / Monthly Coverage",
|
||||
"permanent": "Permanent",
|
||||
"permanent_desc": "Long-Term Staffing Placement"
|
||||
},
|
||||
"rapid": {
|
||||
"title": "RAPID Order",
|
||||
"subtitle": "Emergency staffing in minutes",
|
||||
"urgent_badge": "URGENT",
|
||||
"tell_us": "Tell us what you need",
|
||||
"need_staff": "Need staff urgently?",
|
||||
"type_or_speak": "Type or speak what you need. I'll handle the rest",
|
||||
"example": "Example: ",
|
||||
"hint": "Type or speak... (e.g., \"Need 5 cooks ASAP until 5am\")",
|
||||
"speak": "Speak",
|
||||
"listening": "Listening...",
|
||||
"send": "Send Message",
|
||||
"sending": "Sending...",
|
||||
"success_title": "Request Sent!",
|
||||
"success_message": "We're finding available workers for you right now. You'll be notified as they accept.",
|
||||
"back_to_orders": "Back to Orders"
|
||||
},
|
||||
"one_time": {
|
||||
"title": "One-Time Order",
|
||||
"subtitle": "Single event or shift request",
|
||||
"create_your_order": "Create Your Order",
|
||||
"date_label": "Date",
|
||||
"date_hint": "Select date",
|
||||
"location_label": "Location",
|
||||
"location_hint": "Enter address",
|
||||
"positions_title": "Positions",
|
||||
"add_position": "Add Position",
|
||||
"position_number": "Position $number",
|
||||
"remove": "Remove",
|
||||
"select_role": "Select role",
|
||||
"start_label": "Start",
|
||||
"end_label": "End",
|
||||
"workers_label": "Workers",
|
||||
"lunch_break_label": "Lunch Break",
|
||||
"different_location": "Use different location for this position",
|
||||
"different_location_title": "Different Location",
|
||||
"different_location_hint": "Enter different address",
|
||||
"create_order": "Create Order",
|
||||
"creating": "Creating...",
|
||||
"success_title": "Order Created!",
|
||||
"success_message": "Your shift request has been posted. Workers will start applying soon."
|
||||
},
|
||||
"recurring": {
|
||||
"title": "Recurring Order",
|
||||
"subtitle": "Ongoing weekly/monthly coverage",
|
||||
"placeholder": "Recurring Order Flow (Work in Progress)"
|
||||
},
|
||||
"permanent": {
|
||||
"title": "Permanent Order",
|
||||
"subtitle": "Long-term staffing placement",
|
||||
"placeholder": "Permanent Order Flow (Work in Progress)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,6 +245,48 @@
|
||||
"recurring_desc": "Cobertura Continua Semanal / Mensual",
|
||||
"permanent": "Permanente",
|
||||
"permanent_desc": "Colocación de Personal a Largo Plazo"
|
||||
},
|
||||
"rapid": {
|
||||
"title": "Orden RÁPIDA",
|
||||
"subtitle": "Personal de emergencia en minutos",
|
||||
"urgent_badge": "URGENTE",
|
||||
"tell_us": "Dinos qué necesitas",
|
||||
"need_staff": "¿Necesitas personal urgentemente?",
|
||||
"type_or_speak": "Escribe o habla lo que necesitas. Yo me encargo del resto",
|
||||
"example": "Ejemplo: ",
|
||||
"hint": "Escribe o habla... (ej., \"Necesito 5 cocineros YA hasta las 5am\")",
|
||||
"speak": "Hablar",
|
||||
"listening": "Escuchando...",
|
||||
"send": "Enviar Mensaje",
|
||||
"sending": "Enviando...",
|
||||
"success_title": "¡Solicitud Enviada!",
|
||||
"success_message": "Estamos encontrando trabajadores disponibles para ti ahora mismo. Te notificaremos cuando acepten.",
|
||||
"back_to_orders": "Volver a Órdenes"
|
||||
},
|
||||
"one_time": {
|
||||
"title": "Orden Única Vez",
|
||||
"subtitle": "Evento único o petición de turno",
|
||||
"create_your_order": "Crea Tu Orden",
|
||||
"date_label": "Fecha",
|
||||
"date_hint": "Seleccionar fecha",
|
||||
"location_label": "Ubicación",
|
||||
"location_hint": "Ingresar dirección",
|
||||
"positions_title": "Posiciones",
|
||||
"add_position": "Añadir Posición",
|
||||
"position_number": "Posición $number",
|
||||
"remove": "Eliminar",
|
||||
"select_role": "Seleccionar rol",
|
||||
"start_label": "Inicio",
|
||||
"end_label": "Fin",
|
||||
"workers_label": "Trabajadores",
|
||||
"lunch_break_label": "Descanso para Almuerzo",
|
||||
"different_location": "Usar ubicación diferente para esta posición",
|
||||
"different_location_title": "Ubicación Diferente",
|
||||
"different_location_hint": "Ingresar dirección diferente",
|
||||
"create_order": "Crear Orden",
|
||||
"creating": "Creando...",
|
||||
"success_title": "¡Orden Creada!",
|
||||
"success_message": "Tu solicitud de turno ha sido publicada. Los trabajadores comenzarán a postularse pronto."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user