Closed ParthivPatel-BTC closed 9 years ago
I am trying to create new Invoice, getting following error
logs
2015-05-27T10:35:15.112504+00:00 app[web.1]: 2015-05-27T10:35:15.112507+00:00 app[web.1]: ActionView::Template::Error (undefined method `address' for nil:NilClass): 2015-05-27T10:35:15.112509+00:00 app[web.1]: 11: - if @invoice.new_record? 2015-05-27T10:35:15.112510+00:00 app[web.1]: 12: .form-group 2015-05-27T10:35:15.112512+00:00 app[web.1]: 13: = label_tag :address 2015-05-27T10:35:15.112513+00:00 app[web.1]: 14: = label_tag "", formatted_address(current_user.company.clients.first), class: "form-control remove_border_element invoice_address_height", id: "client_address"
@ParthivPatel-BTC fix it.
I am trying to create new Invoice, getting following error
logs