
Untitled
By: a guest on
Apr 26th, 2012 | syntax:
None | size: 1.65 KB | hits: 18 | expires: Never
#1 Send car policy offer
1) add one more button to page /main/carpolicyoffer/XXXX and /main/carpolicyoffer/add - "Send"
2) When user presses the button Send a popup appears (use the same script as "Inform us") that has buttons "Cancel" and "Send"
Popup has the following fields: email (prefilled with the email from Client model), subject (prefilled with {% trans 'policyoffer.send.subject' %}+Client.full_name)
and text (prefilled from a template)
=== START ===
Dear klient,
We send you the policy offer available by this link
http://SOME_DOMAIN:SOME_PORT/6101436d7b761c6e4d35d91a833c6eff
Best regards,
BrokerCompany.name
BrokerCompany.reply_email
===== END ======
3) When customer goes by the link http://SOME_DOMAIN:SOME_PORT/6101436d7b761c6e4d35d91a833c6eff he sees a HTML version of policy offer
The same is available in PDF format.
Use this template http://p.kmaakler.ee/p/demo/6101436d7b761c6e4d35d91a833c6eff
Inject prices and client name
4) Make sure link http://SOME_DOMAIN:SOME_PORT/6101436d7b761c6e4d35d91a833c6eff expires in 30 days
5) Add button "Save as PDF" to page /main/carpolicyoffer/XXXX and /main/carpolicyoffer/add that shows the same PDF
6) Add button "View" to page /main/carpolicyoffer/XXXX and /main/carpolicyoffer/add that shows the HTML version of a policy offer
#2 Task with jqgrid
1) Extend "policy offers" widget on the dashboard so that if user selects multiple rows buttons appear on the toolbar "Action #1 (3)", "Action #2 (3)" where 3 is the number of policies selected
2) When user clicks on a action show the popup (use the same script as "Inform us") where it shows selected rows and buttons "Cancel", "Confirm"