mirror of
https://github.com/Karaka-Management/oms-InvestmentManagement.git
synced 2026-02-07 08:18:40 +00:00
bug fixes
This commit is contained in:
parent
0b40c98356
commit
740cedc39d
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
|||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
|
||||
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
|
||||
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ final class ApiAttributeController extends Controller
|
|||
->where('id', (int) $request->getData('type'))
|
||||
->execute();
|
||||
|
||||
if (!$type->repeatable) {
|
||||
if (!$type->isRepeatable) {
|
||||
$attr = InvestmentObjectAttributeMapper::count()
|
||||
->with('type')
|
||||
->where('type/id', $type->id)
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ final class ApiController extends Controller
|
|||
pathSettings: PathSettings::FILE_PATH,
|
||||
hasAccountRelation: false,
|
||||
readContent: $request->getDataBool('parse_content') ?? false,
|
||||
type: $request->getDataInt('type'),
|
||||
tag: $request->getDataInt('tag'),
|
||||
rel: $investment->id,
|
||||
mapper: InvestmentMapper::class,
|
||||
field: 'files'
|
||||
|
|
@ -520,7 +520,7 @@ final class ApiController extends Controller
|
|||
pathSettings: PathSettings::FILE_PATH,
|
||||
hasAccountRelation: false,
|
||||
readContent: $request->getDataBool('parse_content') ?? false,
|
||||
type: $request->getDataInt('type'),
|
||||
tag: $request->getDataInt('tag'),
|
||||
rel: $investment->id,
|
||||
mapper: InvestmentObjectMapper::class,
|
||||
field: 'files'
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ final class InvestmentObjectAttributeTypeMapper extends DataMapperFactory
|
|||
'investmgmt_attr_type_datatype' => ['name' => 'investmgmt_attr_type_datatype', 'type' => 'int', 'internal' => 'datatype'],
|
||||
'investmgmt_attr_type_fields' => ['name' => 'investmgmt_attr_type_fields', 'type' => 'int', 'internal' => 'fields'],
|
||||
'investmgmt_attr_type_custom' => ['name' => 'investmgmt_attr_type_custom', 'type' => 'bool', 'internal' => 'custom'],
|
||||
'investmgmt_attr_type_repeatable' => ['name' => 'investmgmt_attr_type_repeatable', 'type' => 'bool', 'internal' => 'repeatable'],
|
||||
'investmgmt_attr_type_repeatable' => ['name' => 'investmgmt_attr_type_repeatable', 'type' => 'bool', 'internal' => 'isRepeatable'],
|
||||
'investmgmt_attr_type_internal' => ['name' => 'investmgmt_attr_type_internal', 'type' => 'bool', 'internal' => 'isInternal'],
|
||||
'investmgmt_attr_type_pattern' => ['name' => 'investmgmt_attr_type_pattern', 'type' => 'string', 'internal' => 'validationPattern'],
|
||||
'investmgmt_attr_type_required' => ['name' => 'investmgmt_attr_type_required', 'type' => 'bool', 'internal' => 'isRequired'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user