This commit is contained in:
iVampireSP.com 2023-03-08 07:03:51 +08:00
parent 8ae7a7865e
commit d994c13bf9
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -215,9 +215,9 @@ public function isNextMonthCancel(): bool
public function cost( public function cost(
string $amount = null, $auto = true, $description = null string $amount = null, $auto = true, $description = null
): bool { ): bool {
if ($this->isTrial() && ! $this->trial_ends_at->isPast()) { // if ($this->isTrial() && $this->trial_ends_at->()) {
return true; // return true;
} // }
$this->load('user'); $this->load('user');
$user = $this->user; $user = $this->user;