mattwood1 / ecb

Automatically exported from code.google.com/p/ecb
0 stars 0 forks source link

Dashboard Changes #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Change title of car reg in WIP Box to Customer
Within Customer have the name above the registration, in bold.
remove customer (second col) post code and make.

leaving model stage and actions.

remove top two boxes

+Add Job source between model and customer

After stage days till ETA (int)

remove ready to iinvoice and item 5

Booked in to follow format of above. Plus date booked in, sort by due in 
earliest dates first.

Add site to both tables

To Be booked in is the same as booked in without the date booked in.

Original issue reported on code.google.com by chrisw...@gmail.com on 30 Jan 2014 at 7:02

GoogleCodeExporter commented 9 years ago
HTML table layout have been updated. There are TODO's in the code as reminders 
for the missing data.

List of missing data:
Site
Days till ETA
Date Booked In
Job Source

Original comment by matthew....@gmail.com on 4 Feb 2014 at 12:11

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r76.

Original comment by matthew....@gmail.com on 4 Feb 2014 at 12:17

GoogleCodeExporter commented 9 years ago
I have added the DB lines in the DB for the missing ones,

Can you also add the NOTES(counter) on the left of the Customer Name and REG in 
Dashboard

Original comment by chrisw...@gmail.com on 5 Feb 2014 at 9:08

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r86.

Original comment by matthew....@gmail.com on 6 Feb 2014 at 11:02

GoogleCodeExporter commented 9 years ago
Notes Popup to do.

Original comment by matthew....@gmail.com on 6 Feb 2014 at 11:03

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r87.

Original comment by matthew....@gmail.com on 6 Feb 2014 at 11:07

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r90.

Original comment by matthew....@gmail.com on 6 Feb 2014 at 11:44

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r91.

Original comment by matthew....@gmail.com on 7 Feb 2014 at 12:21

GoogleCodeExporter commented 9 years ago
TMI is at the top and in red 20% opacity.

Original comment by matthew....@gmail.com on 7 Feb 2014 at 12:23

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r92.

Original comment by matthew....@gmail.com on 7 Feb 2014 at 1:18

GoogleCodeExporter commented 9 years ago
Two things left here:-
Days till ETA needs to show work days left, and styled.
Popup on the notes to display the notes - site wide.

Original comment by matthew....@gmail.com on 7 Feb 2014 at 1:33

GoogleCodeExporter commented 9 years ago
I thought I'd share this with you before I refactor it to be a bit smaller. 
This is how I'm calculating the days ETA.

Future date is the 20th Feb, Today is 11th Feb.

            $today = mktime();             // This is now.

            $time = $date - $today;        // difference between the dates in seconds.

            //     sec  min  hour
            $day = 60 * 60 * 24;           // calculation for a day

            $days = ceil($time / $day);    //  9   Ceil means to round up always.

            $weeks = floor($days / 7);     //  9 / 7 = 1.2857142857143 (floor = 1) floor is round down always

            $daysRemainder = $days - ($weeks * 7);

            $workingDays = ($weeks * 5) + $daysRemainder;

            return $workingDays;           // Returns 7 days.

Original comment by matthew....@gmail.com on 11 Feb 2014 at 11:51

GoogleCodeExporter commented 9 years ago
Refactored into this

            $days = ceil(($date - mktime()) / (60 * 60 * 24));    //  9
            $daysRemainder = $days - (floor($days / 7) * 7);
            $workingDays = (floor($days / 7) * 5) + $daysRemainder;
            return $workingDays;

Original comment by matthew....@gmail.com on 11 Feb 2014 at 11:54

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r97.

Original comment by matthew....@gmail.com on 11 Feb 2014 at 11:57

GoogleCodeExporter commented 9 years ago
To Do - Notes Popup.

Original comment by matthew....@gmail.com on 12 Feb 2014 at 1:34

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r109.

Original comment by matthew....@gmail.com on 20 Feb 2014 at 1:01

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r110.

Original comment by matthew....@gmail.com on 20 Feb 2014 at 1:03

GoogleCodeExporter commented 9 years ago
Fix the partials, book in and to book in do not have a eta. 

Original comment by matthew....@gmail.com on 21 Mar 2014 at 6:53

GoogleCodeExporter commented 9 years ago
Add notes in the Notes Modal(pop)

change order of comments, newest at the bottom and start page at the end.

Original comment by chrisw...@gmail.com on 21 Mar 2014 at 6:59