diff --git a/app/Services/PdfMaker/Design.php b/app/Services/PdfMaker/Design.php index 953db989b4dd..1a64d205ed36 100644 --- a/app/Services/PdfMaker/Design.php +++ b/app/Services/PdfMaker/Design.php @@ -234,9 +234,9 @@ class Design extends BaseDesign $variable = sprintf('%s%s', '$', $property); if ( - !is_null($this->entity->{$property}) || - !empty($this->entity->{$property}) || - $this->entity->{$property} !== 0 + !is_null($this->entity->{$property}) && + !empty($this->entity->{$property}) && + $this->entity->{$property} != 0 ) { continue; }