moon rental form

This commit is contained in:
2021-07-10 21:17:51 -05:00
parent f4c77eee00
commit 8bd44c10b8

View File

@@ -78,8 +78,6 @@ class MiningTaxesController extends Controller
'entity_name' => 'required', 'entity_name' => 'required',
'entity_type' => 'required', 'entity_type' => 'required',
]); ]);
dd($request);
$lookup = new LookupHelper; $lookup = new LookupHelper;
$entityId = null; $entityId = null;
@@ -95,6 +93,8 @@ class MiningTaxesController extends Controller
return redirect('error', 'Moon Rental error. Please contact the site admin.'); return redirect('error', 'Moon Rental error. Please contact the site admin.');
} }
dd($entityId);
//Create the next billing date from a Carbon date 3 months from the rental start //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_end)->addMonths(3);