GithubHelp home page GithubHelp logo

datagovsg / beeline-admin Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 6.0 24.63 MB

A web interface for transport operators on Beeline

License: MIT License

JavaScript 19.33% HTML 3.18% CSS 3.92% Shell 0.03% Vue 73.54%

beeline-admin's People

Contributors

artylope avatar chengwm avatar chrissng avatar lonerifle avatar shen-xujing avatar shenxujing avatar xkjyeah avatar yongjun21 avatar yxtay avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

beeline-admin's Issues

Error in Ridership Numbers

After i reduce the bus capacity from 40 to 12 in admin.beeline.sg for route ID, 131 running from CCK to CNB. The Admin view shows the below error. Suspect this is due to the availability table implementation. Affected trips are from 21 Feb to 3 Mar 17

image

image

Credit Transaction Page Improvement

  1. Show a column with [Route Label] and [Route Description]. Follow the Front end design of booking page - Done

  2. Rename the column header [Amount] as [Credit Amount] -- Done

  3. Add in a column [Payment Amount] -- only for routeCreditPurchase and routeActivation --Done

  4. Add in a [Txn ID] column for troubleshooting purposes --Done

  5. Rename [date] column to [Transaction timestamp] --Done

  6. Refund button for full refund of payment of credits under [Action] column - Done

  7. Create a new column [Charge ID] that shows Stripe Charge And Payment Transaction ID for payment -- Done

  8. Show refund Stripe ID Transaction if there is a refund - Done

  9. For transaction with promo, show the promo label. Credit Amount will be shown as XX + XX (Promo) -- Done

  10. Add in a filter to allow for showing credit transaction with Stripe payment involved

  11. Add in a download CSV button (Low importance)

  12. For status, use the same frontend color coding as booking --Done

  13. Enable a drop down selection for [Transaction Type] Search field

  14. Remove Hide uncommitted transaction. Not sure what is it use for -- To hide transactions which are not committed, ie. failed transaction

  15. Pagination does not seems to work very well when filtering between month and day --Done

  16. Move Credit Transaction to Main Header

  17. Current auto complete for search by user by mobile, name or email is not useful. Remove auto complete

  18. Add a header, "Search selected dates by:" Align as bookings --Done

  19. Filter by route tag as a drop down

  20. Filter by route option

  21. Rename the current type for the transaction
    Type for credits will be:

  • creditPurchase
  • ticketPurchase
  • routeActivation
  • addCredits
  • Refund
  • expiry

Crowdstart Page Improvement

CrowdStart Page

  • Default sort by Tier and non-expiry route
  • Move "Label" header to be after the Route ID
  • Include header for Campaign Start Date
  • Rename [First Trip Date] to [Service Start Date if Activated]
  • Have a status column for running or ended campaign
  • Show details about boarding and alighting stop
  • Show a button to view route with stop with timing on a map
  • Instead of clicking the link to edit the crowd start details, create a action column with the button edit. Disable clicking of the link
  • Have a button to create crowd start route which uses the same modal as the route creation

Route Page

  • Remove Crowdstart routes from route page, remove "Crowdstart Expiry Date" column in route page. Remove the filter for crowdstart route in route page too

P.S. Not sure how difficult is this, perhaps we can flag a route at the route level if it is a route or crowd start route. At least admin view knows where to display this route during setup. Now it uses tags to identified which sometimes cannot be pre-configure yet.

Enable white list base on mobile number and email for promo code

This is for corporate that wish to provide subsidy for only their staff. Currently, target is to get this ready by end of April

  1. We should be able to allow bus operator to bulk upload mobile + email for white listing via admin view under promo function
  2. Under the "Manage Promotion", we will need operator to be able to specific their condition for promo code with the option to white list for corporate

Multiple trips per day per route

Tasks:

  1. Allow trip list to be sorted by run# (or first stop time?) and by date
  2. Don't prevent the creation of multiple trips per day
  3. Annotate date picker with the number of trips.

in route pages, able to search for route by label

for resolving customer issue. Now can't tell immediately which route is run by which company. need to scan through all the list to find the route label so that can find the bus company to contact.

Show refund transaction date on Booking screen

Operator currently have no way of checking transaction refund date on "Bookings" page. This is required by their finance for tallying the book. Proposed to show date of refund on the column, "Transaction Timestamp"

Issuing credits to Victor Zhuo

Operations needs to be able to issue credits to users. There is currently no avenue to do this aside from manually modifying database entries, which at best is highly error prone since aside from the immediate data patch, corresponding tracking entries (accounting, transaction) are required as well.

Specific case:
Due to an incident today (13th Feb 2017), SMRT wishes to issue 2 free trip worth of credit to the commuter. The commuter is:
Victor Zhuo, +6590035837, [email protected]

Route: B08
Operational needs to be fulfilled by 15th Feb 2017

Promo code creation bug

frontend bug with promo code creation. need to select pass then ticket before saving otherwise there will be a 404 error pop up

Promo editor: improvements

  1. separate button to edit [PR]
  2. add caption / better icon for delete [PR]
  3. caption to "+": add promo code [PR]
  4. Remove Type: Promotion [PR]
  5. Limit by company -- don't show unless superadmin [PR]
  6. Add caption to the criteria edit buttons
  7. limit by routes -- don't show Lite, Crowdstart, Inactive (no future trips)
  8. Cancel button to go back??
  9. simpleRate --> "Percentage discount", simpleFixed --> "Dollar value discount".
  10. Rates -- use percentage (#181)
  11. Show the number of redemptions in the list

9 May 2017

  1. Disable "edit selected tickets" and show a message if tickets from different routes are selected
  2. Use select2 for routes dropdown in bookings page
  3. Edit and Edit Selected Tickets are confusing
  4. Add ticket action should be moved to the user column?

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.