}\r
$extra .= '<p class="right" style="margin-top:10px;margin-right:10px;"><br /><br /><a href="#" class="submit">' . $core->typo->BoutonOK(__('Enregistrer')) . '</a><br /><br /></p>';\r
\r
- self::form('saveClient', __("Edition d'un client"), extranetUrl::formClient($args[1]), false, 2, '', $extra);\r
+ commonAjax::form('saveClient', __("Edition d'un client"), extranetUrl::formClient($args[1]), false, 2, '', $extra);\r
}\r
\r
public static function formContact($args, &$x)\r
if (!isset($args[2])) {\r
$args[2] = null;\r
}\r
- self::form('saveContact', __("Edition d'un contact"), extranetUrl::formContact($args[1], $args[2]));\r
+ commonAjax::form('saveContact', __("Edition d'un contact"), extranetUrl::formContact($args[1], $args[2]));\r
}\r
\r
public static function formNotes($args, &$x)\r
{\r
global $core;\r
- self::form('saveNotes', __('Edition des notes'), extranetUrl::formNotes($args[1]));\r
+ commonAjax::form('saveNotes', __('Edition des notes'), extranetUrl::formNotes($args[1]));\r
}\r
\r
public static function saveClient($args, &$x)\r
\r
public static function sortClient($args, &$x)\r
{\r
- self::sort('clients', $args[1]);\r
+ commonAjax::sort('clients', $args[1]);\r
$x->addContent('listeClients', extranetUrl::listeClients());\r
}\r
public static function sortEquipier($args, &$x)\r
{\r
- self::sort('equipiers', $args[1]);\r
+ commonAjax::sort('equipiers', $args[1]);\r
$x->addContent('listeEquipiers', extranetUrl::listeRh());\r
}\r
\r
public static function pageClient($args, &$x)\r
{\r
- self::page('clients', $args[1]);\r
+ commonAjax::page('clients', $args[1]);\r
$x->addContent('listeClients', extranetUrl::listeClients());\r
}\r
\r
public static function parPageClient($args, &$x)\r
{\r
- self::parPage('clients', $_POST['par_page']);\r
+ commonAjax::parPage('clients', $_POST['par_page']);\r
$x->addContent('listeClients', extranetUrl::listeClients());\r
}\r
\r
public static function filtreClients($args, &$x)\r
{\r
if (isset($args[1]) && $args[1] == 'efface') {\r
- self::filtre('clients');\r
+ commonAjax::filtre('clients');\r
$x->addReload();\r
return;\r
} else {\r
- self::filtre('clients', $_POST);\r
+ commonAjax::filtre('clients', $_POST);\r
$x->addContent('listeClients', extranetUrl::listeClients());\r
}\r
}\r
global $core;\r
$dao = new commonDAOEntreprise($core->con);\r
$client = $dao->selectById($args[1]);\r
- return self::form('', __("Détail du chiffre d'affaire de") . ' ' . $client->nom, extranetUrl::clientDetailCa($args[1]), false);\r
+ return commonAjax::form('', __("Détail du chiffre d'affaire de") . ' ' . $client->nom, extranetUrl::clientDetailCa($args[1]), false);\r
}\r
\r
public static function clientDetailImpaye($args, &$x)\r
global $core;\r
$dao = new commonDAOEntreprise($core->con);\r
$client = $dao->selectById($args[1]);\r
- return self::form('', __("Détail des impayés de") . ' ' . $client->nom, extranetUrl::clientDetailImpaye($args[1]), false, 4);\r
+ return commonAjax::form('', __("Détail des impayés de") . ' ' . $client->nom, extranetUrl::clientDetailImpaye($args[1]), false, 4);\r
}\r
\r
public static function formProjet($args, &$x)\r
{\r
- self::form('saveProjet', __("Edition d'un projet"), extranetUrl::formProjet($args[1]));\r
+ commonAjax::form('saveProjet', __("Edition d'un projet"), extranetUrl::formProjet($args[1]));\r
}\r
\r
public static function saveProjet($args, &$x)\r
\r
public static function pageProjet($args, &$x)\r
{\r
- self::page('projets', $args[1]);\r
+ commonAjax::page('projets', $args[1]);\r
$x->addContent('listeProjets', extranetUrl::listeProjets());\r
}\r
public static function parPageProjet($args, &$x)\r
{\r
- self::parPage('projets', $_POST['par_page']);\r
+ commonAjax::parPage('projets', $_POST['par_page']);\r
$x->addContent('listeProjets', extranetUrl::listeProjets());\r
}\r
\r
public static function sortProjet($args, &$x)\r
{\r
- self::sort('projets', $args[1]);\r
+ commonAjax::sort('projets', $args[1]);\r
$x->addContent('listeProjets', extranetUrl::listeProjets());\r
}\r
\r
public static function filtreProjet($args, &$x)\r
{\r
if (isset($args[1]) && $args[1] == 'efface') {\r
- self::filtre('projets');\r
+ commonAjax::filtre('projets');\r
$x->addReload();\r
return;\r
} else {\r
- self::filtre('projets', $_POST);\r
+ commonAjax::filtre('projets', $_POST);\r
$x->addContent('listeProjets', extranetUrl::listeProjets());\r
}\r
}\r
public static function formTacheNormale($args, &$x)\r
{\r
$projet = isset($args[2])?$args[2]:null;\r
- self::form('saveTache', __("Edition d'un tâche"), extranetUrl::formTacheNormale($args[1], $projet));\r
+ commonAjax::form('saveTache', __("Edition d'un tâche"), extranetUrl::formTacheNormale($args[1], $projet));\r
}\r
\r
public static function formTacheSousTraitee($args, &$x)\r
{\r
$projet = isset($args[2])?$args[2]:null;\r
- self::form('saveTache', __("Edition d'un tâche sous-traitée"), extranetUrl::formTacheSousTraitee($args[1], $projet));\r
+ commonAjax::form('saveTache', __("Edition d'un tâche sous-traitée"), extranetUrl::formTacheSousTraitee($args[1], $projet));\r
}\r
\r
public static function saveTache($args, &$x)\r
\r
public static function sortTimereport($args, &$x)\r
{\r
- self::sort('timereport', $args[1]);\r
+ commonAjax::sort('timereport', $args[1]);\r
$x->addContent('listeTimereport', extranetUrl::listeTimereport());\r
}\r
\r
public static function pageTimereport($args, &$x)\r
{\r
- self::page('timereport', $args[1]);\r
+ commonAjax::page('timereport', $args[1]);\r
$x->addContent('listeTimereport', extranetUrl::listeTimereport());\r
}\r
\r
\r
public static function parPageTimereport($args, &$x)\r
{\r
- self::parPage('timereport', $_POST['par_page']);\r
+ commonAjax::parPage('timereport', $_POST['par_page']);\r
$x->addContent('listeTimereport', extranetUrl::listeTimereport());\r
}\r
\r
public static function filtreTimereport($args, &$x)\r
{\r
if (isset($args[1]) && $args[1] == 'efface') {\r
- self::filtre('timereport');\r
+ commonAjax::filtre('timereport');\r
$x->addReload();\r
return;\r
} else {\r
- self::filtre('timereport', $_POST);\r
+ commonAjax::filtre('timereport', $_POST);\r
$x->addContent('listeTimereport', extranetUrl::listeTimereport());\r
}\r
}\r
\r
public static function pageDevis($args, &$x)\r
{\r
- self::page('devis', $args[1]);\r
+ commonAjax::page('devis', $args[1]);\r
$x->addContent('listeDevis', extranetUrl::listeDevis());\r
}\r
\r
public static function parPageDevis($args, &$x)\r
{\r
- self::parPage('devis', $_POST['par_page']);\r
+ commonAjax::parPage('devis', $_POST['par_page']);\r
$x->addContent('listeDevis', extranetUrl::listeDevis());\r
}\r
\r
public static function sortDevis($args, &$x)\r
{\r
- self::sort('devis', $args[1]);\r
+ commonAjax::sort('devis', $args[1]);\r
$x->addContent('listeDevis', extranetUrl::listeDevis());\r
}\r
\r
public static function filtreDevis($args, &$x)\r
{\r
if (isset($args[1]) && $args[1] == 'efface') {\r
- self::filtre('devis');\r
+ commonAjax::filtre('devis');\r
$x->addReload();\r
return;\r
} else {\r
- self::filtre('devis', $_POST);\r
+ commonAjax::filtre('devis', $_POST);\r
$x->addContent('listeDevis', extranetUrl::listeDevis());\r
}\r
}\r
\r
public static function sortDevisClient($args, &$x)\r
{\r
- self::sort('devis', $args[1]);\r
+ commonAjax::sort('devis', $args[1]);\r
$x->addContent('listeDevis', extranetUrl::listeDevisClient());\r
}\r
\r
\r
public static function changeFacturePaiement($args, &$x)\r
{\r
- return self::form('saveFacturePaiement', __('Informations relatives au paiement de la facture'), extranetUrl::formFacturePaiement($args[1]));\r
+ return commonAjax::form('saveFacturePaiement', __('Informations relatives au paiement de la facture'), extranetUrl::formFacturePaiement($args[1]));\r
}\r
\r
public static function saveFacturePaiement($args, &$x)\r
\r
public static function pageFacture($args, &$x)\r
{\r
- self::page('factures', $args[1]);\r
+ commonAjax::page('factures', $args[1]);\r
$x->addContent('listeFactures', extranetUrl::listeFactures());\r
}\r
\r
public static function parPageFacture($args, &$x)\r
{\r
- self::parPage('factures', $_POST['par_page']);\r
+ commonAjax::parPage('factures', $_POST['par_page']);\r
$x->addContent('listeFactures', extranetUrl::listeFactures());\r
}\r
\r
public static function sortFacture($args, &$x)\r
{\r
- self::sort('factures', $args[1]);\r
+ commonAjax::sort('factures', $args[1]);\r
$x->addContent('listeFactures', extranetUrl::listeFactures());\r
}\r
\r
public static function filtreFactures($args, &$x)\r
{\r
if (isset($args[1]) && $args[1] == 'efface') {\r
- self::filtre('factures');\r
+ commonAjax::filtre('factures');\r
$x->addReload();\r
return;\r
} else {\r
- self::filtre('factures', $_POST);\r
+ commonAjax::filtre('factures', $_POST);\r
$x->addContent('listeFactures', extranetUrl::listeFactures());\r
}\r
}\r
\r
public static function formPrintFactures($args, &$x)\r
{\r
- self::form('printFactures', __('Imprimer des factures'), extranetUrl::formPrintFactures(), __("Lancer l'impression"));\r
+ commonAjax::form('printFactures', __('Imprimer des factures'), extranetUrl::formPrintFactures(), __("Lancer l'impression"));\r
}\r
\r
public static function printFactures($args, &$x)\r
\r
public static function formDashboard($args, &$x)\r
{\r
- self::form('saveDashboard', __('Ajouter un élément au dashboard'), extranetUrl::formDashboard($args));\r
+ commonAjax::form('saveDashboard', __('Ajouter un élément au dashboard'), extranetUrl::formDashboard($args));\r
}\r
\r
public static function saveDashboard($args, &$x)\r
\r
public static function chargesDetails($args, &$x)\r
{\r
- self::form('', sprintf(__("Détails des charges de l'année %s"), date('Y')), extranetPageChiffres::chargesDetails($args), '', 3, 'liste');\r
+ commonAjax::form('', sprintf(__("Détails des charges de l'année %s"), date('Y')), extranetPageChiffres::chargesDetails($args), '', 3, 'liste');\r
}\r
\r
public static function sortFichiers($args, &$x)\r
{\r
- self::sort('fichiers', $args[1]);\r
+ commonAjax::sort('fichiers', $args[1]);\r
$x->addContent('listeFichiers', extranetUrl::listeFichiers());\r
}\r
\r
public static function pageFichiers($args, &$x)\r
{\r
- self::page('fichiers', $args[1]);\r
+ commonAjax::page('fichiers', $args[1]);\r
$x->addContent('listeFichiers', extranetUrl::listeFichiers());\r
}\r
\r
public static function parPageFichiers($args, &$x)\r
{\r
- self::parPage('fichiers', $_POST['par_page']);\r
+ commonAjax::parPage('fichiers', $_POST['par_page']);\r
$x->addContent('listeFichiers', extranetUrl::listeFichiers());\r
}\r
\r
$liste = $dao->getListe($settings['orderby'], $settings['sens'], $settings['limit']);\r
\r
$res = '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'entreprise_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Raison sociale'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'entreprise_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Raison sociale'), 'nom', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th>' . __('Contacts') . '</th>';\r
$res .= '<th>' . __('Notes') . '</th>';\r
- $res .= '<th>' . self::orderby('<abbr title="' . __("Chiffre d'affaire") . '">CA</abbr>', 'ca', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby('Impayés', 'impaye', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby('<abbr title="' . __("Chiffre d'affaire") . '">CA</abbr>', 'ca', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby('Impayés', 'impaye', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th class="min"></th><th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $id => $client) {\r
$change = is_null($dashboard)?'Projet':'Dashboard/' . $dashboard;\r
\r
$res = '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'projet_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Projet'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Année'), 'annee_fin', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Chef'), 'chef', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Facturé'), 'rapport_facturation', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Payé'), 'rapport_paiement', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby('<abbr title="' . __('Budget') . '">B</abbr>', 'budget', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby('<abbr title="' . __('Progression') . '">Pr</abbr>', 'progression', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'projet_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Projet'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Année'), 'annee_fin', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Chef'), 'chef', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Facturé'), 'rapport_facturation', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Payé'), 'rapport_paiement', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby('<abbr title="' . __('Budget') . '">B</abbr>', 'budget', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby('<abbr title="' . __('Progression') . '">Pr</abbr>', 'progression', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th class="min"></th></tr>';\r
\r
$dao = new extranetDAOProjet($core->con);\r
$timereports = $daoTimereport->getListe($taches, $core->user->utilisateur_id, array('start' => $avant, 'end' => $apres));\r
// Affiche le tableau\r
$res = '<table class="liste listeTimereport">';\r
- $res .= '<tr><th class="normal">' . self::orderby('#', 'projet_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th class="normal">' . self::orderby(__('Projet'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th class="normal">' . self::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th class="normal">' . commonUrl::orderby('#', 'projet_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th class="normal">' . commonUrl::orderby(__('Projet'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th class="normal">' . commonUrl::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
for($date = $avant;$date <= $apres;$date += 3600 * 24) {\r
$res .= '<th>' . date('d', $date) . '' . cubeMedia::spacer(16, 1, '', 'spacer') . '</th>';\r
}\r
- $res .= '<th class="normal info">' . self::orderby('<abbr title="' . __('Progression') . '">Pr</abbr>', 'progression', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th class="normal info">' . self::orderby('<abbr title="' . __('Jours consommés') . '">Co</abbr>', 'jours_consommes', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th class="normal info">' . self::orderby('<abbr title="' . __('Jours prévus') . '">Pl</abbr>', 'jours_prevus', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th class="normal info">' . commonUrl::orderby('<abbr title="' . __('Progression') . '">Pr</abbr>', 'progression', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th class="normal info">' . commonUrl::orderby('<abbr title="' . __('Jours consommés') . '">Co</abbr>', 'jours_consommes', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th class="normal info">' . commonUrl::orderby('<abbr title="' . __('Jours prévus') . '">Pl</abbr>', 'jours_prevus', $settings, 'sort' . $change) . '</th>';\r
$res .= '</tr>';\r
\r
foreach($liste as $projet) {\r
$liste = $dao->getListe($settings['orderby'], $settings['sens'], $settings['limit']);\r
$res = self::contextDevis($context_id);\r
$res .= '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'devis_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Crée par'), 'createur', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Date'), 'date_creation', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Montant HT'), 'total_ht', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'devis_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Crée par'), 'createur', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Date'), 'date_creation', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Montant HT'), 'total_ht', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th class="min"></th><th class="min"></th><th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $devis) {\r
$settings = $core->user->getSettings('devis');\r
$liste = $dao->getListeForEntreprise($core->user->entreprise, $settings['orderby'], $settings['sens']);\r
$res = '<table class="liste">';\r
- $res .= '<th>' . self::orderby(__('Nom'), 'nom', $settings, 'sortDevis') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Date'), 'date_creation', $settings, 'sortDevis') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Montant HT'), 'total_ht', $settings, 'sortDevis') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Status'), 'status', $settings, 'sortDevis') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Nom'), 'nom', $settings, 'sortDevis') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Date'), 'date_creation', $settings, 'sortDevis') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Montant HT'), 'total_ht', $settings, 'sortDevis') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Status'), 'status', $settings, 'sortDevis') . '</th>';\r
$res .= '<th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $devis) {\r
\r
$res = self::contextFacture($context_id);\r
$res .= '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'facture_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Crée par'), 'createur', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Date'), 'date_creation', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Montant HT'), 'total_ht', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th><th class="min"></th><th class="min"></th><th class="min"></th></tr>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'facture_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Client'), 'client', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Crée par'), 'createur', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Date'), 'date_creation', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Montant HT'), 'total_ht', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Status'), 'status', $settings, 'sort' . $change) . '</th><th class="min"></th><th class="min"></th><th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $facture) {\r
$droits = extranetDroits::facture($facture, 'w', false);\r
$liste = $dao->getListeForEntreprise($core->user->entreprise, $settings['orderby'], $settings['sens'], true);\r
\r
$res = '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'facture_id', $settings, 'sortFacture') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Nom'), 'nom', $settings, 'sortFacture') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Date'), 'date_creation', $settings, 'sortFacture') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Montant HT'), 'total_ht', $settings, 'sortFacture') . '</th>';\r
- $res .= '<th>' . self::orderby(__('Status'), 'status', $settings, 'sortFacture') . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'facture_id', $settings, 'sortFacture') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Nom'), 'nom', $settings, 'sortFacture') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Date'), 'date_creation', $settings, 'sortFacture') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Montant HT'), 'total_ht', $settings, 'sortFacture') . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Status'), 'status', $settings, 'sortFacture') . '</th>';\r
$res .= '<th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $facture) {\r
$liste = $dao->getListe($settings['orderby'], $settings['sens'], $settings['limit']);\r
\r
$res = '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby('#', 'utilisateur_id', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Agence'), 'agence', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('E-mail'), 'email', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Grade'), 'grade', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby('#', 'utilisateur_id', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Agence'), 'agence', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Nom'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('E-mail'), 'email', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Grade'), 'grade', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th>Notes</th>';\r
// $res .= '<th class="min"></th><th class="min"></th></tr>';\r
$i = 0;\r
$liste = $dao->getListe($settings['orderby'], $settings['sens'], $settings['limit']);\r
\r
$res = '<table class="liste">';\r
- $res .= '<tr><th>' . self::orderby(__('Nom de fichier'), 'nom', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Type'), 'type', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Taille'), 'taille', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Date'), 'date', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Envoyé par'), 'contact', $settings, 'sort' . $change) . '</th>';\r
- $res .= '<th>' . self::orderby(__('Destiné à'), 'destinataire', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<tr><th>' . commonUrl::orderby(__('Nom de fichier'), 'nom', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Type'), 'type', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Taille'), 'taille', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Date'), 'date', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Envoyé par'), 'contact', $settings, 'sort' . $change) . '</th>';\r
+ $res .= '<th>' . commonUrl::orderby(__('Destiné à'), 'destinataire', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th class="min"></th><th class="min"></th></tr>';\r
$i = 0;\r
foreach($liste as $fichier) {\r