Commit Graph

47 Commits

Author SHA1 Message Date
Tom Price
067e03b757 Remove Event.purchase_order in favour of a simple EventAuthorisation object. 2017-04-10 23:16:50 +01:00
Tom Price
391d9ef28f Update PDF templates and enable sending of PDF via email.
PDFs now state QUOTE, INVOICE or RECEIPT.
Single copy and all but INVOICE includes terms of hire.
2017-04-10 22:45:27 +01:00
Tom Price
7fd0c50146 Add sending of emails to clients.
Add email sending methods.

Add TEC side sending of emails.
2017-04-10 20:39:19 +01:00
Tom Price
3b2aa02ae5 Add success notification emails.
Enable RevisionMixin for EventAuthorisation.

Add signal receivers for RIGS.

Expand RIGS into an explicitly defined app to support signals.
2017-04-10 19:16:45 +01:00
Tom Price
1670b190c2 Add tests for the client side authorisation 2017-04-10 18:11:49 +01:00
Tom Price
e65e97b1a3 Client facing authorisation procedures.
Add forms, views, templates and URLs.

Remove created at in favour of the built in versioning as that's much more accurate.
Switch to a OneToOneField with EventAuthorisation -> event as a result of this.

Move validation from models to forms where it probably belongs.
Provide more descriptive errors.

Add success page for authorisation.
2017-04-07 02:14:33 +01:00
David Taylor
0ae7bcaf7c Explicitly define height in oembed JSON 2017-03-10 15:26:00 +00:00
David Taylor
b939bc5a64 Do not display "not saved" message when the event has been saved 2016-10-23 14:05:25 +01:00
Johnathan Graydon
6fc89727f2 Stop PO number from duplicating when copying event
Would close #256
2016-10-21 15:48:54 +01:00
David Taylor
5949ff74ec Added javascript cookie check, if blocked, login in new tab 2016-10-08 22:55:27 +01:00
David Taylor
b93a716a3b Added unit tests 2016-10-08 20:37:01 +01:00
David Taylor
0d92c3812a Tidied up python 2016-10-08 19:56:56 +01:00
David Taylor
f0bb4c5b02 Move exemption to urls.py (cleaner) 2016-10-06 13:13:09 +01:00
David Taylor
4660322964 Remove hardcoded URL 2016-10-06 13:04:33 +01:00
David Taylor
59efc2c485 Fixed JSON 2016-10-06 12:59:37 +01:00
David Taylor
69b0ff9fae Made embed page, with clickjacking protection turned off 2016-10-06 12:52:33 +01:00
David Taylor
a02087bf2a Fixed fail 2016-10-04 21:11:43 +01:00
David Taylor
585f909d3f Escape JSON 2016-10-04 21:05:07 +01:00
David Taylor
64f3842a13 Added iframe to embed 2016-10-03 23:02:19 +01:00
David Taylor
6370679b62 Initial proof of concept 2016-10-03 22:45:57 +01:00
David Taylor
1681ab8fee Allowed linking to specific views/dates on the calendar - closes #153 2016-02-29 20:35:53 +00:00
David Taylor
0eb820000c Merge branch 'master' into duplicate-event 2015-08-27 23:59:50 +01:00
David Taylor
26d671ea0d EventDuplicate now presents an edit view before saving 2015-08-16 19:31:35 +01:00
David Taylor
6944d98c4e Added paperwork generation date, user & versioning 2015-07-29 22:06:44 +01:00
Tom Price
5bb7283f2d Merge branch 'vagrant' into hotfixes 2015-07-23 21:08:44 +01:00
David Taylor
5641a998f3 Removed unnecessary variable & updated test 2015-07-19 16:14:40 +01:00
David Taylor
72bf28da53 Removed special characters from paperwork filenames - issue #103 2015-06-29 23:27:10 +01:00
David Taylor
cc22392ef7 Added estimated VAT, as per issue #71 2015-06-29 13:51:37 +01:00
David Taylor
a0467300e3 Fixed ordering of event archive 2015-06-28 20:46:15 +01:00
David Taylor
6763f371d4 Workaround for context bug 2015-05-28 22:41:02 +01:00
David Taylor
ad4784ff15 Explicitly set redirect view permanent/temporary 2015-05-28 19:42:05 +01:00
David Taylor
0c8665d370 Added calendar view 2015-04-19 22:25:59 +01:00
Tom Price
8340fd49d4 Fix for loosing data when there is a form validation error. Issue #42.
Added info message when there is an validation error and items are not shown.
2015-03-31 10:33:57 +01:00
tomtom5152
f013cfb968 Bug fix for #30 2015-03-27 12:21:21 +00:00
tomtom5152
2568517a8f Readded start>end checking. Template improvements
Added descritpions of all error for the user as well as the image.

Added contextual alert boxes for messages in base.

If  start>end start<=>end. Very simple fix, thanks Charlie.
2015-03-05 18:20:43 +00:00
tomtom5152
d6bcc2f5dd Removed logic for the exception of start > end. This didn't add anything to UX so will need to find a better way of doing this. Ultimately, saying that there are no events available IS the correct response. 2015-03-05 15:11:23 +00:00
tomtom5152
3876318fe5 Added error message for start > end 2015-03-04 16:08:36 +00:00
Tom Price
343e34662b Added archive link
Added legacy redirect urls
2015-01-26 16:09:22 +00:00
Tom Price
9c9dc07929 Everyone's favourite, past events, now working and loading in ~800ms 2015-01-26 15:06:39 +00:00
Tom Price
58af9e743b Added the ability to clone an event to a new event. 2015-01-22 18:20:37 +00:00
Tom Price
48d6570e37 Rig paperwork printing enabled 2014-12-08 00:59:08 +00:00
Tom Price
9e7e6dc707 Event Items now saved using JSON rather than an AJAX request 2014-12-04 22:18:53 +00:00
Tom Price
1368224be6 Fixed issue with datetime fields 2014-12-03 11:50:24 +00:00
Tom Price
3595859b08 Updated all event field names to their latest values.
Corrected typo in the rigboard views
2014-12-02 00:39:15 +00:00
Tom Price
06cbb6d55a Fixed indetation issues 2014-12-01 20:54:50 +00:00
tec
806215f35e Added all event views and urls.
Added event detail template.

Added itemisation templates.
2014-11-11 20:08:36 +00:00
tomtom5152
9352733629 Working rigboard. Thank fuck... 2014-11-06 03:32:36 +00:00