mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-24 23:58:41 +00:00
autofixes
This commit is contained in:
parent
005bde94d1
commit
97e7ddf988
|
|
@ -446,7 +446,6 @@ final class ApiAttributeController extends Controller
|
|||
public function apiContractAttributeValueDelete(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?
|
||||
|
|
|
|||
|
|
@ -202,8 +202,8 @@ final class ApiContractTypeController extends Controller
|
|||
/**
|
||||
* Method to update ContractType from request.
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
* @param BaseStringL11nType $new Model to modify
|
||||
* @param RequestAbstract $request Request
|
||||
* @param BaseStringL11nType $new Model to modify
|
||||
*
|
||||
* @return BaseStringL11nType
|
||||
*
|
||||
|
|
@ -319,8 +319,8 @@ final class ApiContractTypeController extends Controller
|
|||
/**
|
||||
* Method to update ContractTypeL11n from request.
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
* @param BaseStringL11n $new Model to modify
|
||||
* @param RequestAbstract $request Request
|
||||
* @param BaseStringL11n $new Model to modify
|
||||
*
|
||||
* @return BaseStringL11n
|
||||
*
|
||||
|
|
|
|||
|
|
@ -224,8 +224,8 @@ final class ApiController extends Controller
|
|||
/**
|
||||
* Method to update Contract from request.
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
* @param Contract $new Model to modify
|
||||
* @param RequestAbstract $request Request
|
||||
* @param Contract $new Model to modify
|
||||
*
|
||||
* @return Contract
|
||||
*
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@ final class ContractAttributeMapper extends DataMapperFactory
|
|||
* @since 1.0.0
|
||||
*/
|
||||
public const COLUMNS = [
|
||||
'contractmgmt_contract_attr_id' => ['name' => 'contractmgmt_contract_attr_id', 'type' => 'int', 'internal' => 'id'],
|
||||
'contractmgmt_contract_attr_id' => ['name' => 'contractmgmt_contract_attr_id', 'type' => 'int', 'internal' => 'id'],
|
||||
'contractmgmt_contract_attr_contract' => ['name' => 'contractmgmt_contract_attr_contract', 'type' => 'int', 'internal' => 'ref'],
|
||||
'contractmgmt_contract_attr_type' => ['name' => 'contractmgmt_contract_attr_type', 'type' => 'int', 'internal' => 'type'],
|
||||
'contractmgmt_contract_attr_value' => ['name' => 'contractmgmt_contract_attr_value', 'type' => 'int', 'internal' => 'value'],
|
||||
'contractmgmt_contract_attr_type' => ['name' => 'contractmgmt_contract_attr_type', 'type' => 'int', 'internal' => 'type'],
|
||||
'contractmgmt_contract_attr_value' => ['name' => 'contractmgmt_contract_attr_value', 'type' => 'int', 'internal' => 'value'],
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ namespace Modules\ContractManagement\Models;
|
|||
|
||||
use Modules\Admin\Models\AccountMapper;
|
||||
use Modules\ContractManagement\Models\Attribute\ContractAttributeMapper;
|
||||
use Modules\Editor\Models\EditorDocMapper;
|
||||
use Modules\Media\Models\MediaMapper;
|
||||
use Modules\Organization\Models\UnitMapper;
|
||||
use Modules\Editor\Models\EditorDocMapper;
|
||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Contract' => 'Contract',
|
||||
'Contracts' => 'Contracts',
|
||||
'Contract' => 'Contract',
|
||||
'Contracts' => 'Contracts',
|
||||
'ContractTypes' => 'Types',
|
||||
'Create' => 'Create',
|
||||
'List' => 'List',
|
||||
'Create' => 'Create',
|
||||
'List' => 'List',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
* @var \Modules\ContractManagement\Models\Contract $contract
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user