From 2284c296be51f6d62bf3bcac1548cc5e6b21c8fe Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Mon, 13 Sep 2010 16:09:22 +0530 Subject: [PATCH] pay slip bzr revid: apa@tinyerp.com-20100913103922-9cw221rwpkgbukpm --- addons/hr_payroll/report/payslip.rml | 75 ++++++++-------------------- 1 file changed, 20 insertions(+), 55 deletions(-) diff --git a/addons/hr_payroll/report/payslip.rml b/addons/hr_payroll/report/payslip.rml index 5a760096bc5..89d29af9273 100755 --- a/addons/hr_payroll/report/payslip.rml +++ b/addons/hr_payroll/report/payslip.rml @@ -227,7 +227,6 @@ - @@ -270,16 +269,13 @@ - Pay Slip + Pay Slip + + + - - - - - - @@ -295,7 +291,7 @@ Name - [[o.employee_id.name]] + [[o.employee_id.name]] @@ -325,7 +321,7 @@ - + Slip ID @@ -341,7 +337,7 @@ - + Register @@ -396,7 +392,7 @@ Basic Salary - [[ o.basic_before_leaves or '' ]] + [[ formatLang(o.basic_before_leaves) ]] [[ o.company_id.currency_id.symbol ]] Leaved Deduction @@ -408,13 +404,10 @@ Basic Salary – Leaves - [[ formatLang(o.basic) ]] + [[ formatLang(o.basic) ]] [[ o.company_id.currency_id.symbol ]] - - - @@ -422,9 +415,6 @@ - - - @@ -435,9 +425,6 @@ - - -
[[repeatIn(get_leave(o.line_ids),'ld') ]] @@ -446,17 +433,11 @@ [[ ld.code ]] - [[ formatLang(ld.total) ]] + [[ formatLang(ld.total) ]] [[ o.company_id.currency_id.symbol ]] - - -
- - - @@ -473,9 +454,6 @@ - - - @@ -485,7 +463,7 @@ Basic Salary - [[ formatLang(o.basic) ]] + [[ formatLang(o.basic) ]] [[ o.company_id.currency_id.symbol ]] @@ -493,7 +471,7 @@ [[repeatIn(get_earnings(o.line_ids),'a') ]] [[ a.code or removeParentNode('tr') ]] - [[ formatLang(a.total) ]] + [[ formatLang(a.total) ]] [[ o.company_id.currency_id.symbol ]] @@ -510,7 +488,7 @@ [[ b.code ]] - [[ formatLang(b.total) ]] + [[ formatLang(b.total) ]] [[ o.company_id.currency_id.symbol ]]
@@ -524,22 +502,19 @@
- - - Total Earnings - [[ formatLang(o.allounce + o.basic) ]] + [[ formatLang(o.allounce + o.basic) ]] [[ o.company_id.currency_id.symbol ]] Total Deductions - [[ formatLang(o.deduction) ]] + [[ formatLang(o.deduction) ]] [[ o.company_id.currency_id.symbol ]] @@ -559,9 +534,6 @@ - - -
[[repeatIn(get_others(o.line_ids),'ol') ]] @@ -570,20 +542,14 @@ [[ ol.type in ['advance','loan','otherpay','otherdeduct','installment'] and ol.code or '' ]] - [[ ol.type in ['advance','loan','otherpay'] and formatLang(ol.total) or '' ]] + [[ ol.type in ['advance','loan','otherpay'] and formatLang(ol.total) or '' ]] [[ ol.type in ['advance','loan','otherpay'] and o.company_id.currency_id.symbol or '' ]] - [[ ol.type in ['otherdeduct','installment'] and formatLang(ol.total) or '' ]] + [[ ol.type in ['otherdeduct','installment'] and formatLang(ol.total) or '' ]] [[ ol.type in ['advance','loan','otherpay'] and o.company_id.currency_id.symbol or '' ]] - - -
- - - @@ -595,7 +561,7 @@ Net Amount - [[ formatLang(o.net) ]] + [[ formatLang(o.net) ]] [[ o.company_id.currency_id.symbol ]] @@ -630,7 +596,7 @@ - + @@ -643,5 +609,4 @@ - - + \ No newline at end of file