Rimaa Order Status

2 posts in this topic

Hi guys / gals.

Rimaa deals with logistics and moving products around. They needed an interface for their clients to check the status on their orders and that's where I came in.

Not much you can see just by visiting the site, because this is actually a private mobile oriented web-app. But see some screenshots below.

This project features some cool things under the hood:

  1. First, the content is managed from a Google Spreadsheet. PW connects to the spreadsheet on an interval (that can be configured), parses the sheet and updates the orders list. So the various people that share that spreadsheet and keep it updated for internal control, are also maintaining this platform without even knowing it.
  2. PW users templates was modified to allow for this platform's different roles:
    • Client : only sees his orders
    • Agent : has a set of clients he can overview
    • Super-agent : sees all clients
  3. Updated orders visual cue: Comparing the current version of an order (by $page->modified) with last viewed version's date (stored in an repeater on each client), the app turns on a visual cue that the order has been updated since it was last seen. Viewing an order is an accordion-style CSS toggle, so at that point an Ajax call tells PW to update the last version viewed by the current user.

All in all, a very little project that once more shows the flexibility we get from this awesome API. Being able to modify users to have the fields we need to get something like this working is a beautiful thing.



9 people like this

Share this post

Link to post
Share on other sites

Very cool project! That's a great use case for PW you got!

2 people like this

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By regesh
      Hi all.
      I need to change $config->paths->data['templates'] value from "templates" to "m_templates" for example.
      I think this wil be more easy to use specific folder for mobile view.
      How to change depending on some actions? (detecting if site viewing on mobile browser)
    • By microcipcip
      I have a VueJS single page app with a router, how do I redirect all requestes to the index.php page? The processwire .htaccess file is quite big I am not sure how to change it. This is what is suggested in the router docs:
      <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] </IfModule>  
    • By clsource
      Here my friends at Jumpitt Labs
      used Processwire as the Main Framework for their website (because I recommend it to them)
      They are nice folks and make mobile apps
      and applications in Valparaíso, Chile.

      I didn´t make their website, I´m just post it to show it here
    • By adrianmak
      A client requested for website required mobile friendly.
      Instead of using responsive design, I want a separate theme for mobile devices.
      I'm thinking of, if a user visit the website e.g. http://www.mydomain.com
      When the website detected a mobile users (How ?), the user will be redirect to a mobile site http://m.mydomain.com , and of course it is using a theme designed for mobile
      Any how and what  ingredients to make it happen ?
    • By hellomoto
      I can't find anything about this in the forums or anything, but I have a file field that accepts mp3 files. Trying to upload from an Android phone (I've tried from two) the files aren't accepted, it says they must be mp3 files, but they are, so it's not reading the file extensions I guess... The error names the file name without the extension saying it's missing the extension. Has anyone come across this? Thanks.