1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Purchase Order Emails

This commit is contained in:
David Bomba 2022-07-04 15:34:54 +10:00
parent dee96182d5
commit 24b4c3fbab

View File

@ -128,7 +128,7 @@ class EmailController extends BaseController
if($entity == 'purchaseOrder' || $template == 'purchase_order'){
PurchaseOrderEmail::dispatch($entity_obj, $entity_obj->company, $data);
return;
return $this->itemResponse($entity_obj);
}
$entity_obj->invitations->each(function ($invitation) use ($data, $entity_string, $entity_obj, $template) {