43 lines
674 B
Plaintext
43 lines
674 B
Plaintext
%tr
|
|
%td
|
|
=v_contact.codemanaginn
|
|
|
|
%td
|
|
=v_contact.societe
|
|
|
|
|
|
|
|
%td
|
|
=v_contact.nom
|
|
|
|
%td
|
|
=v_contact.prenom
|
|
|
|
%td
|
|
=v_contact.codeproprietaire
|
|
|
|
%td
|
|
-societe = Societe.where(:socmanaginn => v_contact.codeproprietaire).first
|
|
-if societe
|
|
=societe.nom
|
|
|
|
%td
|
|
=v_contact.rate
|
|
|
|
%td
|
|
=number_to_currency v_contact.cagnotte
|
|
|
|
%td
|
|
=number_to_currency v_contact.prime
|
|
|
|
%td
|
|
.red
|
|
=#VolumePeriodique.where(:codemanaginn => v_contact.codemanaginn).where("datereception <= ?", @date).sum(:valeur)
|
|
%td
|
|
=l v_contact.last_volume_at if v_contact.last_volume_at
|
|
|
|
|
|
|
|
|
|
|
|
|