mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-29 15:58:41 +00:00
Automated formatting changes (NO_CI)
This commit is contained in:
parent
9441abeaa6
commit
54889488db
|
|
@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
|
|||
*/
|
||||
public function apiBillAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||
{
|
||||
return;
|
||||
// @todo: I don't think values can be deleted? Only Attributes
|
||||
// However, It should be possible to remove UNUSED default values
|
||||
// either here or other function?
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ final class BillTypeMapper extends DataMapperFactory
|
|||
'billing_type_transfer_type' => ['name' => 'billing_type_transfer_type', 'type' => 'int', 'internal' => 'transferType'],
|
||||
'billing_type_default_template' => ['name' => 'billing_type_default_template', 'type' => 'int', 'internal' => 'defaultTemplate'],
|
||||
'billing_type_transfer_stock' => ['name' => 'billing_type_transfer_stock', 'type' => 'bool', 'internal' => 'transferStock'],
|
||||
'billing_type_transfer_sign' => ['name' => 'billing_type_transfer_sign', 'type' => 'int', 'internal' => 'sign'],
|
||||
'billing_type_transfer_sign' => ['name' => 'billing_type_transfer_sign', 'type' => 'int', 'internal' => 'sign'],
|
||||
'billing_type_is_template' => ['name' => 'billing_type_is_template', 'type' => 'bool', 'internal' => 'isTemplate'],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$account = new Account();
|
||||
TestUtils::setMember($account, 'id', 1);
|
||||
|
||||
$permission = new AccountPermission();
|
||||
$permission = new AccountPermission();
|
||||
$permission->unit = 1;
|
||||
$permission->app = 2;
|
||||
$permission->setPermission(
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ use Modules\Billing\Models\Bill;
|
|||
use Modules\Billing\Models\BillElement;
|
||||
use Modules\Billing\Models\BillStatus;
|
||||
use Modules\Billing\Models\NullBillType;
|
||||
use Modules\Media\Models\Media;
|
||||
use phpOMS\Localization\ISO4217CharEnum;
|
||||
|
||||
/**
|
||||
|
|
@ -48,7 +47,7 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals('', $this->bill->info);
|
||||
self::assertInstanceOf('\Modules\Billing\Models\NullBillType', $this->bill->type);
|
||||
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->client);
|
||||
self::assertNull($this->bill->supplier);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user