Enable creation of domains and domain service editing

This commit is contained in:
Deon George
2022-10-18 14:17:50 +11:00
parent 0b4e3a9341
commit c96d264c8f
12 changed files with 143 additions and 25 deletions

View File

@@ -415,10 +415,12 @@ class ServiceController extends Controller
$o->type->save();
// @todo create a validator for service
if ($request->post('invoice_next_at'))
$o->invoice_next_at = $request->invoice_next_at;
if ($request->post('recur_schedule'))
$o->recur_schedule = $request->recur_schedule;
// Also update our service start_at date.
// @todo We may want to make start_at/stop_at dynamic values calculated by the type records
if ($request->post('start_at'))