Removed hard coded fetch
This commit is contained in:
parent
def8b1c7a6
commit
f5004012ed
@ -183,8 +183,8 @@ if ($action == 'testtemplate' && $user->admin) {
|
||||
// test
|
||||
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
|
||||
$object = new Facture($db);
|
||||
//$object->initAsSpecimen();
|
||||
$object->fetch(18);
|
||||
$object->initAsSpecimen();
|
||||
//$object->fetch(18);
|
||||
//var_dump($object->lines);
|
||||
$ret = $printer->sendToPrinter($object, $templateid, 1);
|
||||
if ($ret == 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user