1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
This commit is contained in:
David Bomba 2024-06-07 12:05:26 +10:00
parent 4b546bb206
commit 49e5b09d90
2 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,29 @@
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Services\EDocument\Standards;
use App\Models\Invoice;
use App\Services\AbstractService;
class Peppol extends AbstractService
{
/**
* @param Invoice $invoice
*/
public function __construct(public Invoice $invoice)
{
}
public function run()
{
}
}

View File

@ -137,11 +137,8 @@ class FatturaPATest extends TestCase
$xml = $e->encode($fe, 'xml'); $xml = $e->encode($fe, 'xml');
$this->assertNotNull($xml); $this->assertNotNull($xml);
nlog($xml);
$json = $e->encode($fe, 'json'); $json = $e->encode($fe, 'json');
$this->assertNotNull($json); $this->assertNotNull($json);
nlog($json);
$decode = $e->decode('FatturaPA', $json, 'json'); $decode = $e->decode('FatturaPA', $json, 'json');