
const BookingStatus = Object.freeze({
  PENDING: 'pending',
  ownerConfirmed: 'ownerConfirmed',
  depositPaid: 'depositPaid',
  depositConfirmed: 'depositConfirmed',
  completed: 'completed',
  cancelled: 'cancelled',
});

const BookingStatusLabels = Object.freeze({
  [BookingStatus.PENDING]: 'قيد الانتظار',
  [BookingStatus.ownerConfirmed]: 'مؤكد من المالك',
  [BookingStatus.depositPaid]: 'تم دفع السلفة',
  [BookingStatus.depositConfirmed]: 'تم تأكيد الدفع',
  [BookingStatus.completed]: 'منتهي',
  [BookingStatus.cancelled]: 'ملغي',
});

const BookingStatusColors = Object.freeze({
  [BookingStatus.PENDING]: 'yellow',
  [BookingStatus.ownerConfirmed]: 'blue',
  [BookingStatus.depositPaid]: 'orange',
  [BookingStatus.depositConfirmed]: 'green',
  [BookingStatus.completed]: 'teal',
  [BookingStatus.cancelled]: 'red',
});

export { BookingStatus, BookingStatusLabels, BookingStatusColors };
