From 1aec8ed9cd569d32092dfab3077b8241866cd2f7 Mon Sep 17 00:00:00 2001 From: MltStephane Date: Sat, 4 Feb 2023 23:11:02 +0100 Subject: [PATCH] fix: fix typo in link --- billing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/billing.md b/billing.md index cbb890ff5e2..8c31b67d372 100644 --- a/billing.md +++ b/billing.md @@ -1406,7 +1406,7 @@ If you would like to offer trial periods without collecting the user's payment m ]); > **Warning** -> Be sure to add a [date cast](/docs/{{version}}/eloquent-mutators##date-casting) for the `trial_ends_at` attribute within your billable model's class definition. +> Be sure to add a [date cast](/docs/{{version}}/eloquent-mutators#date-casting) for the `trial_ends_at` attribute within your billable model's class definition. Cashier refers to this type of trial as a "generic trial", since it is not attached to any existing subscription. The `onTrial` method on the billable model instance will return `true` if the current date is not past the value of `trial_ends_at`: