remove text

This commit is contained in:
edmondlang
2023-02-22 16:25:30 +08:00
parent aa84279e83
commit bf3d1d0c23
@@ -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([]);
}