.qi_header Sociétés détectées .qi_row .qi_pannel.qi_plain.padding =link_to "Importer les données dispos à ce jour", import_admin_volume_periodiques_path, :remote => true, :onclick => "$(this).hide();$(this).next('#import').html('Import en cours... Ne pas fermer la page');", :data => {:confirm => "Voulez-vous vraiment mettre à jour les données ? L'opération prendra du temps et tous les stats actuels seront effacés..."} #import %br %br =VContact.update_caches -if false %p=VContact.where(:enabled => true).count %p=VContact.where(:enabled => true).where(:nbr_mvt => 0).count -if true %h3 Sociétés valides .table-area %table.table.table-hover %tr %th Code %th Nom %th Ville %th Nbr cartes %th Cumul %th Cagnotte %th Primes %th Nbr seuils décl. MGD..04 %th Pourcentage remise %th Seuil déclencheur %th Dernier mouvement =render Societe.valids.order("nom ASC") #.limit(2)