Skip to content

Commit

Permalink
Add status filters to appointment calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
ciukstar committed Nov 12, 2023
1 parent 8ceded2 commit b52b9a1
Show file tree
Hide file tree
Showing 31 changed files with 231 additions and 107 deletions.
1 change: 1 addition & 0 deletions config/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
User-agent: *
Disallow: /bookings/calendar/
Disallow: /admin/
Disallow: /stats/
2 changes: 2 additions & 0 deletions messages/en.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Completed: Completed
Pending: Pending
NoBusinessAddressFound: No business address found
ShowAddress: Show address
NoBusinessHoursFound: No business hours found
Expand Down
2 changes: 2 additions & 0 deletions messages/fr.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Completed: Terminée
Pending: En attente
NoBusinessAddressFound: Aucune adresse trouvée
ShowAddress: Afficher l'adresse
NoBusinessHoursFound: Aucune heure d'ouverture trouvée
Expand Down
2 changes: 2 additions & 0 deletions messages/ro.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Completed: Finalizată
Pending: În așteptare
NoBusinessAddressFound: Nu a fost găsită nicio adresă
ShowAddress: Arată adresa
NoBusinessHoursFound: Nu a fost găsit niciun program de lucru
Expand Down
2 changes: 2 additions & 0 deletions messages/ru.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Completed: Выполнена
Pending: В ожидании
NoBusinessAddressFound: Адрес не найден
ShowAddress: Показать адрес
NoBusinessHoursFound: Часы работы не найдены
Expand Down
14 changes: 7 additions & 7 deletions src/Demo/DemoDataEN.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import Model
)
, StaffPhoto (StaffPhoto, staffPhotoPhoto, staffPhotoMime, staffPhotoStaff)
, Role (Role, roleStaff, roleService, roleName, roleDuration, roleRating)
, BookStatus (BookStatusRequest)
, BookStatus (BookStatusRequest, BookStatusApproved, BookStatusCancelled)
, Book
( Book, bookCustomer, bookOffer, bookRole, bookDay, bookTime, bookTzo
, bookTz, bookStatus, bookAddr
Expand Down Expand Up @@ -2972,7 +2972,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b4 <- insert book4
Expand All @@ -2985,7 +2985,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, histAddr = bookAddr book4
, histTzo = bookTzo book4
, histTz = bookTz book4
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -2998,7 +2998,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusApproved
}

b5 <- insert book5
Expand All @@ -3011,7 +3011,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, histAddr = bookAddr book5
, histTzo = bookTzo book5
, histTz = bookTz book5
, histStatus = BookStatusRequest
, histStatus = BookStatusApproved
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -3024,7 +3024,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b6 <- insert book6
Expand All @@ -3037,7 +3037,7 @@ Body Shaping: Abdomen & waist, hips & thighs, legs & arms
, histAddr = bookAddr book6
, histTzo = bookTzo book6
, histTz = bookTz book6
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand Down
14 changes: 7 additions & 7 deletions src/Demo/DemoDataFR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import Model
)
, StaffPhoto (StaffPhoto, staffPhotoPhoto, staffPhotoMime, staffPhotoStaff)
, Role (Role, roleStaff, roleService, roleName, roleDuration, roleRating)
, BookStatus (BookStatusRequest)
, BookStatus (BookStatusRequest, BookStatusCancelled, BookStatusApproved)
, Book
( Book, bookCustomer, bookOffer, bookRole, bookDay, bookTime, bookTzo
, bookTz, bookStatus, bookAddr
Expand Down Expand Up @@ -2965,7 +2965,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b4 <- insert book4
Expand All @@ -2978,7 +2978,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, histAddr = bookAddr book4
, histTzo = bookTzo book4
, histTz = bookTz book4
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -2991,7 +2991,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusApproved
}

b5 <- insert book5
Expand All @@ -3004,7 +3004,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, histAddr = bookAddr book5
, histTzo = bookTzo book5
, histTz = bookTz book5
, histStatus = BookStatusRequest
, histStatus = BookStatusApproved
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -3017,7 +3017,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b6 <- insert book6
Expand All @@ -3030,7 +3030,7 @@ Mise en forme du corps : Abdomen et taille, hanches et cuisses, jambes et bras
, histAddr = bookAddr book6
, histTzo = bookTzo book6
, histTz = bookTz book6
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand Down
14 changes: 7 additions & 7 deletions src/Demo/DemoDataRO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import Model
)
, StaffPhoto (StaffPhoto, staffPhotoPhoto, staffPhotoMime, staffPhotoStaff)
, Role (Role, roleStaff, roleService, roleName, roleDuration, roleRating)
, BookStatus (BookStatusRequest)
, BookStatus (BookStatusRequest, BookStatusApproved, BookStatusCancelled)
, Book
( Book, bookCustomer, bookOffer, bookRole, bookDay, bookTime, bookTzo
, bookTz, bookStatus, bookAddr
Expand Down Expand Up @@ -2967,7 +2967,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b4 <- insert book4
Expand All @@ -2980,7 +2980,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, histAddr = bookAddr book4
, histTzo = bookTzo book4
, histTz = bookTz book4
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -2993,7 +2993,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusApproved
}

b5 <- insert book5
Expand All @@ -3006,7 +3006,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, histAddr = bookAddr book5
, histTzo = bookTzo book5
, histTz = bookTz book5
, histStatus = BookStatusRequest
, histStatus = BookStatusApproved
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -3019,7 +3019,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b6 <- insert book6
Expand All @@ -3032,7 +3032,7 @@ Pachetul include: machiaj de mireasă, up-do, tratament facial și manichiură
, histAddr = bookAddr book6
, histTzo = bookTzo book6
, histTz = bookTz book6
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand Down
14 changes: 7 additions & 7 deletions src/Demo/DemoDataRU.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import Model
, Staff (Staff, staffName, staffStatus, staffPhone, staffMobile, staffEmail, staffUser)
, StaffPhoto (StaffPhoto, staffPhotoPhoto, staffPhotoMime, staffPhotoStaff)
, Role (Role, roleStaff, roleService, roleName, roleDuration, roleRating)
, BookStatus (BookStatusRequest)
, BookStatus (BookStatusRequest, BookStatusCancelled, BookStatusApproved)
, Book
( Book, bookCustomer, bookOffer, bookRole, bookDay, bookTime, bookTzo
, bookTz, bookStatus, bookAddr
Expand Down Expand Up @@ -2964,7 +2964,7 @@ Collagen 90-II — это уважаемое и востребованное а
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b4 <- insert book4
Expand All @@ -2977,7 +2977,7 @@ Collagen 90-II — это уважаемое и востребованное а
, histAddr = bookAddr book4
, histTzo = bookTzo book4
, histTz = bookTz book4
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -2990,7 +2990,7 @@ Collagen 90-II — это уважаемое и востребованное а
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusApproved
}

b5 <- insert book5
Expand All @@ -3003,7 +3003,7 @@ Collagen 90-II — это уважаемое и востребованное а
, histAddr = bookAddr book5
, histTzo = bookTzo book5
, histTz = bookTz book5
, histStatus = BookStatusRequest
, histStatus = BookStatusApproved
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand All @@ -3016,7 +3016,7 @@ Collagen 90-II — это уважаемое и востребованное а
, bookAddr = businessAddr business
, bookTzo = businessTzo business
, bookTz = businessTz business
, bookStatus = BookStatusRequest
, bookStatus = BookStatusCancelled
}

b6 <- insert book6
Expand All @@ -3029,7 +3029,7 @@ Collagen 90-II — это уважаемое и востребованное а
, histAddr = bookAddr book6
, histTzo = bookTzo book6
, histTz = bookTz book6
, histStatus = BookStatusRequest
, histStatus = BookStatusCancelled
, histRoleName = Just $ roleName role925
, histStaffName = Just $ staffName empl9
}
Expand Down
Loading

0 comments on commit b52b9a1

Please sign in to comment.