Skip to content
Snippets Groups Projects
Commit ec4a3089 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Doc

parent 10013535
Branches
Tags
No related merge requests found
......@@ -69,7 +69,7 @@ $db->begin();
require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
// Create order object
// Create invoice object
$obj = new Facture($db);
$obj->ref = 'ABCDE';
......@@ -87,7 +87,7 @@ $line1->total_tva=10;
$line1->total_ttc=110;
$obj->lignes[]=$line1;
// Create order
// Create invoice
$idobject=$obj->create($user);
if ($idobject > 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment