currentCompany->id; $data['type'] = 'invoice'; $data['status'] = 'draft'; $data['amount'] = 0; $data['created_by'] = Auth::id(); return $data; } }