mirror of
https://github.com/Karaka-Management/oms-ClientManagement.git
synced 2026-01-16 09:48:42 +00:00
Quick backup before crash
This commit is contained in:
parent
2b9dbbfce2
commit
142b3f2f68
|
|
@ -121,10 +121,10 @@ final class Installer extends InstallerAbstract
|
|||
/**
|
||||
* Install default attribute types
|
||||
*
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array<array{name:string, l11n?:array<string, string>, is_required?:bool, is_custom_allowed?:bool, validation_pattern?:string, value_type?:string, values?:array<string, mixed>}> $attributes Attribute definition
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array $attributes Attribute definition
|
||||
*
|
||||
* @return array<string, array>
|
||||
* @return array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -190,7 +190,7 @@ final class Installer extends InstallerAbstract
|
|||
* @param array $clientAttrType Attribute types
|
||||
* @param array<array{name:string, l11n?:array<string, string>, is_required?:bool, is_custom_allowed?:bool, validation_pattern?:string, value_type?:string, values?:array<string, mixed>}> $attributes Attribute definition
|
||||
*
|
||||
* @return array<string, array>
|
||||
* @return array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ final class ApiController extends Controller
|
|||
$this->createModel($request->header->account, $client, ClientMapper::class, 'client', $request->getOrigin());
|
||||
|
||||
// Set VAT Id
|
||||
// @todo: move to separate function
|
||||
if ($request->hasData('vat_id')) {
|
||||
/** @var \Modules\Organization\Models\Unit $unit */
|
||||
$unit = UnitMapper::get()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user