Advertisement
Guest User

Untitled

a guest
Feb 28th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.46 KB | None | 0 0
  1. <?php
  2. <html>
  3. <head>
  4. <title></title>
  5. </head>
  6. <body>
  7. <style type="text/css">@font-face {
  8. font-family: SourceSansPro;
  9. src: url(SourceSansPro-Regular.ttf);
  10. font-family: Ubuntu;
  11. }
  12.  
  13. .clearfix:after {
  14. content: "";
  15. display: table;
  16. clear: both;
  17. }
  18.  
  19. a {
  20. color: #1B9BB8;
  21. text-decoration: none;
  22. }
  23.  
  24. {
  25. color: #555555;
  26. background: #FFFFFF;
  27. font-size: 14px;
  28. font-family: SourceSansPro;
  29. }
  30.  
  31. #header {
  32. padding: 10px 0;
  33. margin-bottom: 0px;
  34. border-bottom: 1px solid #AAAAAA;
  35. }
  36.  
  37. #logo {
  38. float:left;
  39. margin: 0px;
  40. width: 250px;
  41. }
  42.  
  43. #logo img {
  44. height: 70px;
  45. }
  46.  
  47. #company {
  48. float:left;
  49. text-align: left;
  50. width:350px;
  51. }
  52.  
  53. #details {
  54. margin-bottom: 15px;
  55. padding-top: 30px;
  56. }
  57.  
  58. #client {
  59. padding-left: 6px;
  60. border-left: 6px solid #1B9BB8;
  61. float: left;
  62. width: 420px;
  63. }
  64. #client2 {
  65. padding-left: 6px;
  66. border-left: 6px solid #BDB9B9;;
  67. float: left;
  68. width: 420px;
  69.  
  70. }
  71.  
  72. #client .to {
  73. color: #939598;
  74. }
  75. #client2 .to {
  76. color: black;
  77. }
  78.  
  79. h2.name {
  80. font-size: 1.4em;
  81. font-weight: bold;
  82. margin: 0;
  83. }
  84.  
  85. #invoice {
  86. float: right;
  87. text-align: right;
  88. }
  89. #invoice2 {
  90. float: right;
  91. text-align: right;
  92.  
  93. }
  94.  
  95. #invoice h1, h1 {
  96. float: right;
  97. color: #1B9BB8;
  98. font-size: 2em;
  99. line-height: 2.2em;
  100. font-weight: bold;
  101. margin: 0px;
  102. padding: 0px;
  103. }
  104. #invoice2 h1, h1 {
  105. float: right;
  106. color: #1B9BB8;
  107. font-size: 2em;
  108. line-height: 2.2em;
  109. font-weight: bold;
  110. margin: 0px;
  111. padding: 0px;
  112. }
  113.  
  114. #invoice .info {
  115. font-size: 0.8em;
  116. }
  117. #invoice2 .info {
  118. font-size: 0.8em;
  119. }
  120.  
  121. table {
  122. width: 100%;
  123. border-collapse: collapse;
  124. border-spacing: 0;
  125. margin-bottom: 20px;
  126. }
  127.  
  128. table th,
  129. table td {
  130. padding: 10px 10px;
  131. background: #EEEEEE;
  132. text-align: center;
  133. border-bottom: 1px solid #FFFFFF;
  134. }
  135.  
  136. table th {
  137. white-space: nowrap;
  138. font-weight: normal;
  139. }
  140.  
  141. table td {
  142. text-align: right;
  143. }
  144.  
  145. table td h3{
  146. color: #1B9BB8;
  147. font-size: 10px;
  148. font-weight: normal;
  149. margin: 0 0 0.2em 0;
  150. }
  151.  
  152. table .no {
  153. color: #FFFFFF;
  154. font-size: 1.2em;
  155. background: #1B9BB8;
  156. }
  157.  
  158. table .desc {
  159. text-align: left;
  160. }
  161.  
  162. table .unit {
  163. background: #DDDDDD;
  164. }
  165.  
  166. table .qty {
  167. text-align: center;
  168. }
  169.  
  170. table .total {
  171. background: #1B9BB8;
  172. color: #FFFFFF;
  173. }
  174.  
  175. table td.unit,
  176. table td.qty,
  177. table td.total {
  178. font-size: 1 em;
  179. }
  180.  
  181. table tbody tr:last-child td {
  182. border: none;
  183. }
  184.  
  185. table tfoot td {
  186. padding: 10px;
  187. font-size: 1.2em;
  188. background: #FFFFFF;
  189. border-bottom: none;
  190. white-space: nowrap;
  191. border-top: 1px solid #AAAAAA;
  192. }
  193.  
  194. table tfoot .border-none-top {
  195. border-top: none;
  196. }
  197.  
  198. table tfoot .grand-total {
  199. padding: 10px 7px;
  200. color: #1B9BB8;
  201. font-size: 1.3em;
  202. border-top: 1px solid #1B9BB8;
  203. font-weight:bold
  204. }
  205.  
  206. table tfoot .border-none {
  207. border: none;
  208. }
  209.  
  210. #pdf_tag{
  211. font-size: 1.1em;
  212. margin: 30px 0px 15px 0px;
  213. }
  214.  
  215. #notices{
  216. padding-left: 6px;
  217. border-left: 6px solid #1B9BB8;
  218. }
  219.  
  220. #notices .notice {
  221. font-size: 1.2em;
  222. }
  223.  
  224. .footer, .footer td {
  225. background-color:#FFFFFF;
  226. color: #939598;
  227. border: none;
  228. border-top: 1px solid #AAAAAA;
  229. font-size: 0.9em;
  230. padding: 10px 0;
  231. }
  232.  
  233. .header, .header td {
  234. background-color:#FFFFFF;
  235. border: none;
  236. border-bottom: 1px solid #AAAAAA;
  237. margin:0px;
  238. padding:0px;
  239. }
  240. </style>
  241. <div id="details">
  242. <div id="client2">
  243. <p style="color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-weight: bold;">$SALESORDER_ACCOUNT_ID$</span></p>
  244. $SALESORDER_BILL_STREET$<br />
  245. $SALESORDER_BILL_CODE$ $SALESORDER_BILL_CITY$<br />
  246. $SALESORDER_BILL_STATE$<br />
  247. <br />
  248. <br />
  249. <br />
  250. &nbsp;</div>
  251.  
  252. <div id="invoice2">
  253. <div class="info">
  254. <p style="color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-weight: bold;">$COMPANY_NAME$</span></p>
  255.  
  256. <p style="color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">$COMPANY_ADDRESS$<br />
  257. $COMPANY_ZIP$ $COMPANY_CITY$<br />
  258. $COMPANY_COUNTRY$</p>
  259.  
  260. <p style="color: rgb(0, 0, 0); font-family: Verdana; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Telefon $COMPANY_PHONE$<br />
  261. Telefax $COMPANY_FAX$<br />
  262. <br />
  263. $COMPANY_WEBSITE$<br />
  264. <br />
  265. %SALESORDER_DUEDATE%: $SALESORDER_DUEDATE$</p>
  266. <br />
  267. &nbsp;</div>
  268. </div>
  269. </div>
  270.  
  271. <div id="pdf_tag"></div>
  272.  
  273. <table border="0" color="black" style="font-size:10px;" width="100%">
  274. <thead>
  275. <tr>
  276. <th style="text-align: center;color: white;font-weight: 600;background:#BDB9B9; width:5%"></th>
  277. <th style="text-align: left;color: white;font-weight: 600;background:#BDB9B9;width:45%;border-right:2px solid white"><span style="font-family:verdana,geneva,sans-serif;"><span style="color:#000000;"><strong>%G_Description%</strong></span></span></th>
  278. <th style="text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white"><span style="font-family:verdana,geneva,sans-serif;"><span style="color:#000000;"><strong>%G_List Price%</strong></span></span></th>
  279. <th style="text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white"><span style="font-family:verdana,geneva,sans-serif;"><span style="color:#000000;"><strong>%G_Quantity%</strong></span></span></th>
  280. <th style="text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%"><span style="font-family:verdana,geneva,sans-serif;"><span style="color:#000000;"><strong>%G_Total%</strong></span></span></th>
  281. </tr>
  282. </thead>
  283. <tbody>
  284. <tr>
  285. <td colspan="5"><span style="font-family:verdana,geneva,sans-serif;">$PRODUCTBLOC_START</span></td>
  286. </tr>
  287. <tr>
  288. <td style="background:#BDB9B9;border-bottom:2px solid white"><span style="font-family:verdana,geneva,sans-serif;">{$PRODUCTPOSITION}</span></td>
  289. <td style="text-align:left; border-bottom:2px solid white;border-right:2px solid white;">
  290. <h3><span style="font-family:verdana,geneva,sans-serif;">$PRODUCTTITLE$</span></h3>
  291. <span style="font-family:verdana,geneva,sans-serif;">$PRODUCTEDITDESCRIPTION$</span></td>
  292. <td style="border-right:2px solid white;border-bottom:2px solid white"><span style="font-family:verdana,geneva,sans-serif;">$PRODUCTLISTPRICE$ $CURRENCYSYMBOL$</span></td>
  293. <td style="border-right:2px solid white;border-bottom:2px solid white"><span style="font-family:verdana,geneva,sans-serif;">$PRODUCTQUANTITY$</span></td>
  294. <td style="border-bottom:2px solid white"><span style="font-family:verdana,geneva,sans-serif;"><strong>$PRODUCTSTOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</strong></span></td>
  295. </tr>
  296. <tr>
  297. <td colspan="5"><span style="font-family:verdana,geneva,sans-serif;">#PRODUCTBLOC_END#</span></td>
  298. </tr>
  299. <tr>
  300. <td colspan="5" style="background:white"></td>
  301. </tr>
  302. <tr>
  303. <td colspan="4" style="background:white; border-bottom:1px solid #BDB9B9"><span style="font-family:verdana,geneva,sans-serif;">%G_Subtotal%</span></td>
  304. <td style="background:#BDB9B9;"><span style="font-family:verdana,geneva,sans-serif;">$TOTALWITHOUTVAT$ $CURRENCYSYMBOL$</span></td>
  305. </tr>
  306. <tr>
  307. <td colspan="4" style="background:white; border-bottom:1px solid #BDB9B9"><span style="font-family:verdana,geneva,sans-serif;">%G_LBL_DISCOUNT%</span></td>
  308. <td style="background:#BDB9B9;"><span style="font-family:verdana,geneva,sans-serif;">$TOTALDISCOUNT$ $CURRENCYSYMBOL$</span></td>
  309. </tr>
  310. <tr>
  311. <td colspan="4" style="background:white; border-bottom:1px solid #BDB9B9"><span style="font-family:verdana,geneva,sans-serif;">%G_Total%</span></td>
  312. <td style="background:#BDB9B9;"><span style="font-family:verdana,geneva,sans-serif;">$TOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</span></td>
  313. </tr>
  314. <tr>
  315. <td colspan="4" style="background:white; border-bottom:2px solid #BDB9B9"><span style="font-family:verdana,geneva,sans-serif;">%G_Tax% $VATPERCENT$%</span></td>
  316. <td style="background:#BDB9B9;;border-bottom:2px solid #BDB9B9"><span style="font-family:verdana,geneva,sans-serif;">$VAT$ $CURRENCYSYMBOL$</span></td>
  317. </tr>
  318. <tr>
  319. <td colspan="4" style="background:white;"><strong>&nbsp;&nbsp;&nbsp;&nbsp; %G_LBL_GRAND_TOTAL%</strong></td>
  320. <td style="background:white"><span style="font-family:verdana,geneva,sans-serif;"><span style="font-size:12px;"><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>
  321. </tr>
  322. </tbody>
  323. </table>
  324.  
  325. <div id="details">
  326. <div id="client2"><span style="font-family:verdana,geneva,sans-serif;">$SALESORDER_TERMS_CONDITIONS$</span></div>
  327.  
  328. <div id="invoice"><br />
  329. <br />
  330. <br />
  331. <br />
  332. <span style="font-family:verdana,geneva,sans-serif;">____________________________</span><br />
  333. $R_USERS_FIRST_NAME$​ $R_USERS_LAST_NAME$​</div>
  334. </div>
  335. </body>
  336. </html>
  337.  
  338.  
  339.  
  340. <div class="SendEmailFormStep2 modal-dialog modal-lg" id="composeEmailContainer"><div class="modal-content"><form class="form-horizontal" id="massEmailForm" method="post" action="index.php" enctype="multipart/form-data" name="massEmailForm"><input type='hidden' name='__vtrftk' value="sid:c0babda7368f5b9034c7c056f144bdccbf6278ec,1551366961" /><div class="modal-header"><div class="clearfix"><div class="pull-right " ><button type="button" class="close" aria-label="Close" data-dismiss="modal"><span aria-hidden="true" class='fa fa-close'></span></button></div><h4 class="pull-left">Compose Email</h4></div></div> <div class="modal-body"><input type="hidden" name="selected_ids" value='[]' /><input type="hidden" name="excluded_ids" value='[]' /><input type="hidden" name="viewname" value="" /><input type="hidden" name="module" value="Emails"/><input type="hidden" name="mode" value="massSave" /><input type="hidden" name="toemailinfo" value='{"1170":["test@gmail.com"]}' /><input type="hidden" name="view" value="MassSaveAjax" /><input type="hidden" name="to" value='["test@gmail.com"]' /><input type="hidden" name="toMailNamesList" value='{"1170":[{"label":"Eric du Trieu de Terdonck","value":"test@gmail.com"}]}'/><input type="hidden" id="flag" name="flag" value="" /><input type="hidden" id="maxUploadSize" value="3145728" /><input type="hidden" id="documentIds" name="documentids" value="" /><input type="hidden" name="emailMode" value="" /><input type="hidden" name="source_module" value="Quotes" /><input type="hidden" name="search_key" value= "" /><input type="hidden" name="operator" value="" /><input type="hidden" name="search_value" value="" /><input type="hidden" name="search_params" value='null' /><div class="row toEmailField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">To&nbsp;<span class="redColor">*</span></span></div><div class="col-lg-6"><input id="emailField" style="width:100%" name="toEmail" type="text" class="autoComplete sourceField select2" data-rule-required="true" data-rule-multiEmails="true" value="test@gmail.com" placeholder="Type and Search"></div><div class="col-lg-4 input-group"><select style="width: 140px;" class="select2 emailModulesList pull-right"><option value="Invoice" >Invoices</option><option value="Accounts" >Organizations</option><option value="Contacts" >Contacts</option><option value="Project" >Projects</option><option value="Users" >Users</option></select><a href="#" class="clearReferenceSelection cursorPointer" name="clearToEmailField"> X </a><span class="input-group-addon"><span class="selectEmail cursorPointer"><i class="fa fa-search" title="Select"></i></span></span></div></div></div><div class="row hide ccContainer"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">Cc</span></div><div class="col-lg-6"><input type="text" name="cc" data-rule-multiEmails="true" value=""/></div><div class="col-lg-4"></div></div></div><div class="row hide bccContainer"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">Bcc</span></div><div class="col-lg-6"><input type="text" name="bcc" data-rule-multiEmails="true" value=""/></div><div class="col-lg-4"></div></div></div><div class="row "><div class="col-lg-12"><div class="col-lg-2"></div><div class="col-lg-6"><a href="#" class="cursorPointer " id="ccLink">Add Cc</a>&nbsp;&nbsp;<a href="#" class="cursorPointer " id="bccLink">Add Bcc</a></div><div class="col-lg-4"></div></div></div><div class="row subjectField"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">Subject&nbsp;<span class="redColor">*</span></span></div><div class="col-lg-6"><input type="text" name="subject" value="" data-rule-required="true" id="subject" spellcheck="true" class="inputElement"/></div><div class="col-lg-4"></div></div></div><div class="row attachment"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">Attachment</span></div><div class="col-lg-9"><div class="row"><div class="col-lg-4 browse"><input type="file" id="multiFile" name="file[]"/>&nbsp;</div><div class="col-lg-4 brownseInCrm"><button type="button" class="btn btn-small btn-default" id="browseCrm" data-url="view=Popup&module=Documents&src_module=Emails&src_field=composeEmail" title="Browse CRM">Browse CRM</button></div><div class="col-lg-4 insertTemplate"><button id="selectEmailTemplate" class="btn btn-success pull-right" data-url="module=EmailTemplates&view=Popup">Select Email Template</button></div></div><div id="attachments"><div class="MultiFile-label customAttachment" data-file-id="" data-file-type="file" data-file-size="371994" ><span>QUO62.pdf</span></div></div></div></div></div><div class="row"><div class="col-lg-12"><div class="col-lg-2"><span class="pull-right">Include Signature</span></div><div class="item col-lg-9"><input class="" type="checkbox" name="signature" value="Yes" checked="checked" id="signature"></div></div></div><div class="container-fluid hide" id='emailTemplateWarning'><div class="alert alert-warning fade in"><a href="#" class="close" data-dismiss="alert">&times;</a><p>Please make sure that the template you selected has merge-tags relevant to the recipient record.
  341. If you are sending an email to Lead, but the merge-tags belong to Contact module (ex: $contacts-lastname$),
  342. then the values will not be merged.</p></div></div><div class="row templateContent"><div class="col-lg-12"><textarea style="width:390px;height:200px;" id="description" name="description"></textarea></div></div><input type="hidden" name="attachments" value='[{"attachment":"QUO62.pdf","path":"storage\/PDFMaker\/5","size":371994,"type":"pdf","nondeletable":true}]' /><div id="emailTemplateWarningContent" style="display: none;">Please make sure that the template you selected has merge-tags relevant to the recipient record.
  343. If you are sending an email to Lead, but the merge-tags belong to Contact module (ex: $contacts-lastname$),
  344. then the values will not be merged.</div></div><div class="modal-footer"><div class="pull-right cancelLinkContainer"><a href="#" class="cancelLink" type="reset" data-dismiss="modal">Cancel</a></div><button id="sendEmail" name="sendemail" class="btn btn-success" title="Send Email" type="submit"><strong>Send Email</strong></button><button id="saveDraft" name="savedraft" class="btn btn-default" title="Save as Draft" type="submit"><strong>Save as Draft</strong></button></div></form></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement