requestClient(); $clientPublicId = $client ? $client->public_id : null; //$invoiceItems = $this->requestInvoiceItems(); $url = '/tasks/create/' . $clientPublicId . '?'; //$url .= $this->requestFieldsAsString(Invoice::$requestFields); return redirect($url); } }