nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 1 | # Print Format, Payment Receipt Voucher |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 2 | [ |
nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 3 | |
| 4 | # These values are common in all dictionaries |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 5 | { |
| 6 | 'creation': '2011-03-25 17:30:45', |
| 7 | 'docstatus': 0, |
nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 8 | 'modified': '2011-04-27 11:44:30', |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 9 | 'modified_by': 'Administrator', |
nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 10 | 'owner': 'Administrator' |
| 11 | }, |
| 12 | |
| 13 | # These values are common for all Print Format |
| 14 | { |
| 15 | 'doctype': 'Print Format', |
| 16 | 'html': '<div style="position: relative;">\n<h3 align="center"><script>doc.company</script>\n</div>\n\n<font size="4">\n<table class=\'simpletable\'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_rec_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style="text-align:left"><b><script>doc.total_amount_in_words</script></b></div><br>\n<div>This receipt is issued subject to realization of the <script>if(doc.cheque_no){\'Cheque\'}else{\'Cash\'}</script></div>\n</font>\n<br>\n<table class="noborder">\n<tr>\n<td style = "text-align = right;"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>', |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 17 | 'module': 'Accounts', |
nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 18 | 'name': '__common__', |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 19 | 'standard': 'Yes' |
nabinhait | 963f36b | 2011-07-01 15:47:42 +0530 | [diff] [blame] | 20 | }, |
| 21 | |
| 22 | # Print Format, Payment Receipt Voucher |
| 23 | { |
| 24 | 'doctype': 'Print Format', |
| 25 | 'name': 'Payment Receipt Voucher' |
Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 26 | } |
| 27 | ] |