suite
This commit is contained in:
parent
d38445c454
commit
35dc99e026
@ -37,7 +37,7 @@ class VContact < ApplicationRecord
|
|||||||
|
|
||||||
vc.last_volume_at = vc.volumes.select("datereception").first.datereception if vc.volumes.first
|
vc.last_volume_at = vc.volumes.select("datereception").first.datereception if vc.volumes.first
|
||||||
|
|
||||||
vc.prime = (vc.ac_rate / 100.0) * vc.cagnotte
|
vc.prime = (vc.ac_rate.to_f / 100.0) * vc.cagnotte
|
||||||
|
|
||||||
vc.save
|
vc.save
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user