You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
492 B
25 lines
492 B
<?php
|
|
|
|
namespace App\Domains\Finance\Support\Schemas;
|
|
|
|
use App\UI\Support\Schemas\AbstractGroupSchema;
|
|
|
|
class InvoiceSchema extends AbstractGroupSchema
|
|
{
|
|
protected bool $coaVisibility = false;
|
|
|
|
/**
|
|
* Fluent setter for COA visibility.
|
|
*/
|
|
public function withCoaVisibility(bool $visible = true): static
|
|
{
|
|
$this->coaVisibility = $visible;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function isCoaVisible(): bool
|
|
{
|
|
return $this->coaVisibility;
|
|
}
|
|
}
|
|
|