Code Monkey home page Code Monkey logo

uit.hotel's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fijetso avatar phamhongphuc avatar sawakisei avatar thaotram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

uit.hotel's Issues

Employee - Validation - Join date must be greater than the birthdate

Commit SHA e69ee24

Description

  • When creating a new employee, join date must be greater than the birthdate.

Steps to Reproduce

  • Open creates a new employee popup.
  • Fill in the required fields with any text.
  • Set the join date time is greater than the birthdate.

Expected behavior

  • Show validation error.

Screenshots

image

Booking - Check-in, check-out date time is invalid

Commit SHA e69ee24

Description

  • See error: Check-in, check-out date time is invalid.

Steps to Reproduce

  • Make reservations for room 101. The room doesn't have any deal before.
  • Fill in the form with valid check-in and check-out date time.
  • See error: Check-in, check-out date time is invalid.

Screenshots

image

UX/UI: Improve user dropdown

Commit SHA e09e068

Description

  • Need to improve the user dropdown.

Steps to Reproduce

  • After login
  • On the top right, click on the user avatar.

Screenshots

image

Room, Floor, RoomKind, PatronKind, Services, Position - Multiple items shouldn't have the same value

Commit SHA 62d8467

Description

  • Room, Floor, RoomKind, PatronKind, Service, Position - Multiple items shouldn't have the same value

Steps to Reproduce

  • Go to manage/floor-room > Click create or update Room/Floor
  • Go to manage/room-kind > Click create or update Room Kind
  • Go to manage/patron-kind > Click create or update Patron Kind
  • Go to business management > service management > Click create or update Services
  • Goto HRM > position management > Click create or update Position

Expected behavior

  • The server should show an error when the client creates a new item with the same name.

Screenshots

image
image
image
image
image

Sidebar - Sidebar doesn't show after creating a default admin user

Commit SHA 62d8467

Description

  • The sidebar doesn't show after creating a default admin user.

Steps to Reproduce

  • Empty Database.
  • Create a default admin account.
  • The app auto redirect to '/' (dashboard).
  • Left sidebar show empty (bug).

Expected Results

  • The app shouldn't auto redirects to '/'.

More details

  • It's work after logout and login again.

Services - Display wrong number of used services

Commit SHA e69ee24

Description

  • Wrong number of used services.

Steps to Reproduce

  • Open Add service details popup.
  • Fill in the form value with 4 Pepsi.
  • The bill's value is right ✓ (with 4 Pepsi).
  • In the management of the service, the number of Pepsi used is 1 (error)

Screenshots

image
image
image
image

Roadmap

Roadmap Overview

This roadmap is meant to give our team and users clarity over our priorities over the next six months. It is meant more like a set of guidelines than as a strict set of tasks we are bound to finish. We may adjust over this period depending on changing needs and feedback from our users.

At a high-level, we're going to be focusing on the following these goals

  • Approachability and UX.
  • Productivity through strong tooling.
  • Infrastructure and engineering systems.
  • Improve workflow process.

A list of everything to do

Workflow

Permission Mixin #338

  • Create simple mixin (c66f6eb).
  • Add mixin to b-nav-item-icon component (c66f6eb).
  • Create b-collapse component & add mixin (7efff36).
    • Add custom model in b-collapse component (679340b).
    • Add auto permission property (d9dd05d).
  • Apply mixin in layout.

User

  • Update user notification layout.

Renting Room

  • Don't set room id when booking a room.
    • Have to do this

Push Notification

  • Create notification model in database.
  • Create notification layout.

Timeline for room

  • Create timeline layout for room (bookings).
    • Create simple layout.
    • Add context menu to each booking.
    • Show booking Status by color.
    • Update booking UI. Make it more beautiful.
    • Add a search bar by date range, type, room name.

DatePicker

  • Choose a custom Datepicker make with Vue.
  • Use and make a wrapped custom DatePicker (make it looks like a Bootstrap component).

Improve code

Back-end

  • Use Enum in Realm
  • Code
    Details

    public enum TypeEnum
    {
    MakeUpRoom, // Phòng cần làm sạch
    ExpectedArrival, // Phòng khách sắp đến
    ExpectedDeparture // Phòng khách sắp đi
    }
    [PrimaryKey]
    public int Id { get; set; }
    public int Type { get; set; }

  • Front-end

    • [Type]: Remove interface CustomWindow. Insteadm, declare onNuxtReady in interface Window (1f838e7).
  • Code
    Details

    interface CustomWindow extends Window {
    onNuxtReady: (callback: () => void) => void;
    }

    • [Type]: Update Type in Apollo Helper (af84398)
    • [Type]: Update Type in Store & Remove ViewStore (3f10345)
    • Update graphQL config (d75acc9)

    Mix

    • Fix NonNullGraphType on List (didn't check all type yet)

    UI

    Update Notification toast style

    This is the toast notification shown in the bottom left or the bottom right when use do some action.

    Bootstrap

    • The table should show information if the table's data is empty.
    • Should use another UI for toggleable button.
  • Image
    Details

    image


  • Bugs

    Logic

    Spell

    • Rename HiringRoom to RentingRoom (c3074ea).

    ESLint

    • Use packageDir setting in import/no-extraneous-dependencies instead of import/core-modules because they are not core modules(89a69f5, d1bab3e).

    Patron - Create a Patron without any Patron Kind

    Commit SHA 62d8467

    Description

    • Create a new patron without any patron kind in the database will throw an error.

    To Reproduce

    1. Empty Database (Don't have any patron kind).
    2. Go to receptionist/map.
    3. Click Đặt phòng nhận ngay > Thêm khách hàng.
    4. Fill all form inputs with normal value > Click "Thêm".
    5. See error.

    Screenshots

    image

    Improve the UX/UI design

    Commit SHA e69ee24

    Our UX/UI is difficult to operate.
    It has numerous wrong texts and doesn't display the necessary data.
    The following list is not exhaustive but does indicate some of what we need to improve.

    • /personnel/employee

      • Title: Cập nhật vị trí > Cập nhật thông tin nhân viên
      • Successful message notification: Cập nhật vị trí mới thành công -> Cập nhật thông tin nhân viên thành công

        image
        image
    • Nên thêm năm về thông tin ngày tháng
      (Quản lý kinh doanh > Quản lý giá)

      image

    • Không biết được phiếu thu thuộc hóa đơn nào và thông tin người trả
      (Quản lý kinh doanh > Quản lý phiếu thu)

      image

    • Bổ sung các cột:

      • Tên người đứng ra thuê phòng
      • Phòng (Danh sách phòng thuộc hóa đơn)

        image

    Context Menu - Receptionist/Map - Floor

    Commit SHA 62d8467

    Description

    • Floor Context menu doesn't work

    Steps to Reproduce

    1. Go to 'receptionist/map'
    2. Right click on a floor
    3. See error

    Expected behavior

    • A clear and concise description of what you expected to happen.

    Screenshots

    image

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.