download billing documents

This commit is contained in:
omair saleh
2022-03-02 03:47:21 +08:00
parent 8610714f34
commit 1446a8b34e
2 changed files with 3 additions and 20 deletions
@@ -20,24 +20,6 @@ use App\Classes\General\Abstracts\AbstractControllerLogic;
class DownloadBookingDocumentLogic
{
/**
* @return array
*/
protected function notification(): array
{
return [
'title' => 'Download Booking Document',
'message' => 'You have successfully retrieved a Booking Document'
];
}
/**
* DownloadBookingDocumentLogic constructor.
*/
public function __construct()
{
}
/**
* @param Request $request
@@ -11,9 +11,10 @@ class DownloadBookingDocumentController
/**
* @param Request $request
* @param DownloadBookingDocumentLogic $logic
* @return JsonResponse
* @return bool
* @throws \App\Classes\Exceptions\MalformedRequestException
*/
public function download(Request $request, DownloadBookingDocumentLogic $logic): JsonResponse {
public function download(Request $request, DownloadBookingDocumentLogic $logic) {
return $logic->execute($request);
}