Affiche l'exemple du format de CDR utilise
This commit is contained in:
parent
cb58bdc4e7
commit
9cdc9d0668
@ -262,8 +262,20 @@ if ($_GET["id"] > 0)
|
|||||||
print '<tr><td width="20%">Grille de tarif</td>';
|
print '<tr><td width="20%">Grille de tarif</td>';
|
||||||
print '<td>'.$ta->liste_name[$fourn->grille].'</td>';
|
print '<td>'.$ta->liste_name[$fourn->grille].'</td>';
|
||||||
print '<td>Grille de tarif</td></tr>';
|
print '<td>Grille de tarif</td></tr>';
|
||||||
|
print '</table><br />';
|
||||||
|
print 'Format de CDR<br/>';
|
||||||
|
|
||||||
|
if (strlen($fourn->cdrformat))
|
||||||
|
{
|
||||||
|
if (@require_once(DOL_DOCUMENT_ROOT."/telephonie/fournisseur/cdrformat/cdrformat.".$fourn->cdrformat.".class.php"))
|
||||||
|
{
|
||||||
|
$format = "CdrFormat".ucfirst($fourn->cdrformat);
|
||||||
|
$cdrformat = new $format();
|
||||||
|
print '<pre>'.$cdrformat->ShowSample().'</pre>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
print '</table><br /></div>';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user