diff --git a/composer.json b/composer.json index 2322739..baa6ce9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "nexa-merchant/apis", "license": "MIT", - "version": "2.0.0", + "version": "2.0.1", "description" : "Nexa merchant Apps api", "keywords": ["laravel", "api", "jwt", "nexa merchant", "merchant", "restful", "restful api"], "type": "library", diff --git a/src/Config/Apis.php b/src/Config/Apis.php index 5b4a857..ba075f1 100644 --- a/src/Config/Apis.php +++ b/src/Config/Apis.php @@ -9,12 +9,12 @@ * * The version of the package */ - 'version' => '2.0.0', + 'version' => '2.0.1', /** * * The version number of the package */ - 'versionNum' => '200', + 'versionNum' => '201', /** * * enable input log for all requests default is false diff --git a/src/Docs/V1/Admin/Controllers/Controller.php b/src/Docs/V1/Admin/Controllers/Controller.php index e24f656..964ae56 100644 --- a/src/Docs/V1/Admin/Controllers/Controller.php +++ b/src/Docs/V1/Admin/Controllers/Controller.php @@ -4,7 +4,7 @@ /** * @OA\Info( - * version="2.0.0", + * version="2.0.1", * title="NexaMerchant Admin Rest API Documentation", * description="NexaMerchant Admin Rest API Documentation", * diff --git a/src/Docs/V1/Shop/Controllers/Controller.php b/src/Docs/V1/Shop/Controllers/Controller.php index d8d4f6c..ed7c297 100644 --- a/src/Docs/V1/Shop/Controllers/Controller.php +++ b/src/Docs/V1/Shop/Controllers/Controller.php @@ -4,7 +4,7 @@ /** * @OA\Info( - * version="2.0.0", + * version="2.0.1", * title="NexaMerchant Store Front Rest API Documentation", * description="NexaMerchant Store Front Rest API Documentation", * diff --git a/src/Http/Resources/Api/V1/Admin/Sales/OrderResource.php b/src/Http/Resources/Api/V1/Admin/Sales/OrderResource.php index 78cd5ca..0993ca7 100644 --- a/src/Http/Resources/Api/V1/Admin/Sales/OrderResource.php +++ b/src/Http/Resources/Api/V1/Admin/Sales/OrderResource.php @@ -29,6 +29,7 @@ public function toArray($request) 'shipping_method' => $this->shipping_method, 'shipping_title' => $this->shipping_title, 'payment_method' => $this->payment->method, + 'payment_method_title' => $this->payment->method_title, 'payment_title' => core()->getConfigData('sales.paymentmethods.'.$this->payment->method.'.title'), 'shipping_description' => $this->shipping_description, 'coupon_code' => $this->coupon_code,