Consider me chagrined.
There's nothing wrong with my model. It's just that my foreign keys can be and frequently are null, So my view code needs to be (for example)
is_null($unit->current)?'':$unit->current->name etc for each reference.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community