mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-16 00:08:41 +00:00
Merge branch 'develop' of https://github.com/Karaka-Management/oms-Billing into develop
This commit is contained in:
commit
7b7f38b643
|
|
@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
|
||||||
*/
|
*/
|
||||||
public function apiBillAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
public function apiBillAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
// @todo: I don't think values can be deleted? Only Attributes
|
// @todo: I don't think values can be deleted? Only Attributes
|
||||||
// However, It should be possible to remove UNUSED default values
|
// However, It should be possible to remove UNUSED default values
|
||||||
// either here or other function?
|
// either here or other function?
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ use Modules\Billing\Models\Bill;
|
||||||
use Modules\Billing\Models\BillElement;
|
use Modules\Billing\Models\BillElement;
|
||||||
use Modules\Billing\Models\BillStatus;
|
use Modules\Billing\Models\BillStatus;
|
||||||
use Modules\Billing\Models\NullBillType;
|
use Modules\Billing\Models\NullBillType;
|
||||||
use Modules\Media\Models\Media;
|
|
||||||
use phpOMS\Localization\ISO4217CharEnum;
|
use phpOMS\Localization\ISO4217CharEnum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -48,7 +47,7 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
||||||
self::assertEquals('', $this->bill->info);
|
self::assertEquals('', $this->bill->info);
|
||||||
self::assertInstanceOf('\Modules\Billing\Models\NullBillType', $this->bill->type);
|
self::assertInstanceOf('\Modules\Billing\Models\NullBillType', $this->bill->type);
|
||||||
self::assertInstanceOf('\DateTimeImmutable', $this->bill->createdAt);
|
self::assertInstanceOf('\DateTimeImmutable', $this->bill->createdAt);
|
||||||
self::assertEquals(null, $this->bill->performanceDate);
|
self::assertNull($this->bill->performanceDate);
|
||||||
self::assertNull($this->bill->send);
|
self::assertNull($this->bill->send);
|
||||||
self::assertNull($this->bill->client);
|
self::assertNull($this->bill->client);
|
||||||
self::assertNull($this->bill->supplier);
|
self::assertNull($this->bill->supplier);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user