guard('vendor')->user()->vendor_id === (int) $this->purchase_order->vendor_id && (bool)(auth()->guard('vendor')->user()->company->enabled_modules & PortalComposer::MODULE_PURCHASE_ORDERS); } }