too many changes

This commit is contained in:
Dennis Eichhorn 2023-03-11 23:38:19 +01:00
parent 508718fed3
commit 51941488bc
14 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@
/** /**
* Karaka * Karaka
* *
* PHP Version 7.4 * PHP Version 8.1
* *
* @package Web\{APPNAME} * @package Web\{APPNAME}
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn

View File

@ -11,7 +11,7 @@
"phpOMS-db": "1.0.0" "phpOMS-db": "1.0.0"
}, },
"creator": { "creator": {
"name": "Karaka", "name": "Jingga",
"website": "jingga.app" "website": "jingga.app"
}, },
"description": "The shop application.", "description": "The shop application.",

View File

@ -3,7 +3,7 @@
"dir": "ltr", "dir": "ltr",
"start_url": "../../{APPNAME}", "start_url": "../../{APPNAME}",
"type": "privileged", "type": "privileged",
"name": "Karaka Shop", "name": "Jingga Shop",
"description": "OMS shop application.", "description": "OMS shop application.",
"short_name": "OMS Shop", "short_name": "OMS Shop",
"icons": [ "icons": [

View File

@ -501,7 +501,7 @@ final class ApiController extends Controller
$attrL11n = $this->createTicketAttributeTypeL11nFromRequest($request); $attrL11n = $this->createTicketAttributeTypeL11nFromRequest($request);
$this->createModel($request->header->account, $attrL11n, TicketAttributeTypeL11nMapper::class, 'attr_type_l11n', $request->getOrigin()); $this->createModel($request->header->account, $attrL11n, TicketAttributeTypeL11nMapper::class, 'attr_type_l11n', $request->getOrigin());
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Attribute type localization', 'Attribute type localization successfully created', $attrL11n); $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Localization successfully created', $attrL11n);
} }
/** /**
@ -722,7 +722,7 @@ final class ApiController extends Controller
$attrL11n = $this->createTicketAttributeValueL11nFromRequest($request); $attrL11n = $this->createTicketAttributeValueL11nFromRequest($request);
$this->createModel($request->header->account, $attrL11n, TicketAttributeValueL11nMapper::class, 'attr_value_l11n', $request->getOrigin()); $this->createModel($request->header->account, $attrL11n, TicketAttributeValueL11nMapper::class, 'attr_value_l11n', $request->getOrigin());
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Attribute type localization', 'Attribute type localization successfully created', $attrL11n); $this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Localization successfully created', $attrL11n);
} }
/** /**

View File

@ -52,5 +52,5 @@ final class SupportAppMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_app_id'; public const PRIMARYFIELD = 'support_app_id';
} }

View File

@ -70,5 +70,5 @@ final class TicketAttributeMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_ticket_attr_id'; public const PRIMARYFIELD = 'support_ticket_attr_id';
} }

View File

@ -54,7 +54,7 @@ final class TicketAttributeTypeL11nMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_attr_type_l11n_id'; public const PRIMARYFIELD = 'support_attr_type_l11n_id';
/** /**
* Model to use by the mapper. * Model to use by the mapper.

View File

@ -77,5 +77,5 @@ final class TicketAttributeTypeMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_attr_type_id'; public const PRIMARYFIELD = 'support_attr_type_id';
} }

View File

@ -54,7 +54,7 @@ final class TicketAttributeValueL11nMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_attr_value_l11n_id'; public const PRIMARYFIELD = 'support_attr_value_l11n_id';
/** /**
* Model to use by the mapper. * Model to use by the mapper.

View File

@ -73,5 +73,5 @@ final class TicketAttributeValueMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_attr_value_id'; public const PRIMARYFIELD = 'support_attr_value_id';
} }

View File

@ -67,5 +67,5 @@ final class TicketElementMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_ticket_element_id'; public const PRIMARYFIELD = 'support_ticket_element_id';
} }

View File

@ -107,5 +107,5 @@ final class TicketMapper extends DataMapperFactory
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const PRIMARYFIELD ='support_ticket_id'; public const PRIMARYFIELD = 'support_ticket_id';
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "karaka/karaka", "name": "karaka/karaka",
"description": "PHP Framework for Karaka.", "description": "PHP Framework for Jingga.",
"authors": [ "authors": [
{ {
"name": "Dennis Eichhorn", "name": "Dennis Eichhorn",

View File

@ -11,7 +11,7 @@
"phpOMS-db": "1.0.0" "phpOMS-db": "1.0.0"
}, },
"creator": { "creator": {
"name": "Karaka", "name": "Jingga",
"website": "jingga.app" "website": "jingga.app"
}, },
"description": "Support module.", "description": "Support module.",