From 5b35dc59d35ab091c5fc45921e399806badab4f6 Mon Sep 17 00:00:00 2001 From: Brice TEXIER Date: Sat, 27 May 2017 20:50:45 +0200 Subject: [PATCH] Cleans code --- app/models/payslip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/payslip.rb b/app/models/payslip.rb index 695876f386..e5dc218569 100644 --- a/app/models/payslip.rb +++ b/app/models/payslip.rb @@ -102,7 +102,7 @@ class Payslip < Ekylibre::Record::Base def label number end - + def status return affair.status if invoice? :stop