mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-12 06:18:40 +00:00
Merge branch 'develop' of https://github.com/Karaka-Management/oms-Organization into develop
This commit is contained in:
commit
a8aa6c91fd
|
|
@ -447,7 +447,6 @@ final class ApiAddressAttributeController extends Controller
|
||||||
*/
|
*/
|
||||||
public function apiAddressAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
public function apiAddressAttributeValueDelete(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?
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
|
||||||
*/
|
*/
|
||||||
public function apiUnitAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
public function apiUnitAttributeValueDelete(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?
|
||||||
|
|
|
||||||
|
|
@ -37,10 +37,10 @@ final class AddressAttributeMapper extends DataMapperFactory
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public const COLUMNS = [
|
public const COLUMNS = [
|
||||||
'address_attr_id' => ['name' => 'address_attr_id', 'type' => 'int', 'internal' => 'id'],
|
'address_attr_id' => ['name' => 'address_attr_id', 'type' => 'int', 'internal' => 'id'],
|
||||||
'address_attr_address' => ['name' => 'address_attr_address', 'type' => 'int', 'internal' => 'ref'],
|
'address_attr_address' => ['name' => 'address_attr_address', 'type' => 'int', 'internal' => 'ref'],
|
||||||
'address_attr_type' => ['name' => 'address_attr_type', 'type' => 'int', 'internal' => 'type'],
|
'address_attr_type' => ['name' => 'address_attr_type', 'type' => 'int', 'internal' => 'type'],
|
||||||
'address_attr_value' => ['name' => 'address_attr_value', 'type' => 'int', 'internal' => 'value'],
|
'address_attr_value' => ['name' => 'address_attr_value', 'type' => 'int', 'internal' => 'value'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
$account = new Account();
|
$account = new Account();
|
||||||
TestUtils::setMember($account, 'id', 1);
|
TestUtils::setMember($account, 'id', 1);
|
||||||
|
|
||||||
$permission = new AccountPermission();
|
$permission = new AccountPermission();
|
||||||
$permission->unit = 1;
|
$permission->unit = 1;
|
||||||
$permission->app = 2;
|
$permission->app = 2;
|
||||||
$permission->setPermission(
|
$permission->setPermission(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user