-mask_fin = mask_fin || false .p_customer_apercu -if particular.owner and particular.owner_type == "PCustomer" %strong=link_to particular.owner.code, admin_p_customer_path(particular.owner_id) -if particular.owner and particular.owner.p_customer_cat ="|" %strong=particular.owner.p_customer_cat.name %br -if particular -if particular.organisation? =particular.organisation %br -if particular.firstname? or particular.name? %strong =particular.firstname =particular.name %br =particular.cp =particular.city -if particular.owner and particular.owner_type == "PCustomer" and !mask_fin =render :partial => "admin/p_customers/financier.html.haml", :locals => {:p_customer => particular.owner}