mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 01:13:59 +00:00
remove text
This commit is contained in:
@@ -55,7 +55,6 @@ class DeletePurchaseOrderPdfLogic extends AbstractControllerLogic
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
|
||||
$booking = $this->fetchesBooking->execute(['id' => $request->route('id')]);
|
||||
|
||||
$document = $booking->documents()->where('document_type', DocumentType::ECOMMERCE_PURCHASE_ORDER)->first();
|
||||
@@ -64,11 +63,6 @@ class DeletePurchaseOrderPdfLogic extends AbstractControllerLogic
|
||||
|
||||
$this->deletesDocument->execute($document);
|
||||
|
||||
// todo: delete purchaseOrderFor1688
|
||||
// if(in_array($booking->company->id, [199, 510])){
|
||||
// $this->createPurchaseOrderFor1688OrderProcessor->execute($booking);
|
||||
// }
|
||||
|
||||
return $this->response([]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user