From bef633434c1a132e4e2ae095fbdc63740c76ba80 Mon Sep 17 00:00:00 2001 From: Christopher Mancuso Date: Mon, 12 Jul 2021 19:26:58 -0500 Subject: [PATCH] rental stuff date was wrong --- app/Http/Controllers/MiningTaxes/MiningTaxesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php index 78aa3f305..bdda1de10 100644 --- a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php +++ b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php @@ -93,7 +93,7 @@ class MiningTaxesController extends Controller } //Create the next billing date from a Carbon date 3 months from the rental start - $nextBillingDate = Carbon::create($request->rental_end)->addMonths(3); + $nextBillingDate = Carbon::create($request->rental_start)->addMonths(3); //Create the uniqid for the billing cycle. $invoiceId = "MR" . uniqid();