/services/public-calendar also returns the professional's current opening hours; the client threw them away and drew the day from the snapshot the search list carried, which can be days old. It now uses the fresh ones. Between picking an hour and pressing "Pedir cita" another patient can take the slot. The confirm step asks the agenda again and, if the hour is gone, says so and clears the selection instead of creating a service the professional would have to deny. A failed re-check lets the booking through: a network hiccup should not block a patient. Also: - tapping a busy slot with no id explains itself instead of doing nothing - the profile refuses to save an empty rate with the rate switch on, which was reaching the backend as rate: '' Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
27 lines
445 B
YAML
27 lines
445 B
YAML
name: service_repository
|
|
description: Dart package for the Service Repository.
|
|
publish_to: 'none'
|
|
|
|
version: 1.0.11+11
|
|
|
|
environment:
|
|
sdk: ">=2.19.3 <3.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
equatable: ^2.0.5
|
|
professional_repository:
|
|
path: ../professional_repository
|
|
http: ^1.1.0
|
|
shared_preferences: ^2.0.10
|
|
|
|
|
|
dev_dependencies:
|
|
flutter_lints: ^2.0.0
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
flutter:
|
|
uses-material-design: true
|