mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-11 17:18:40 +00:00
too many changes
This commit is contained in:
parent
508718fed3
commit
51941488bc
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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.",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user