coding style
This commit is contained in:
@@ -29,6 +29,7 @@ class InvoicesDataTable extends DataTable
|
||||
})
|
||||
->editColumn('customer.last_name', function (Invoice $invoice) {
|
||||
$customer = $invoice->customer ?? false;
|
||||
|
||||
return $customer ? $customer->last_name.' '.$customer->first_name : '';
|
||||
})
|
||||
->rawColumns(['action']);
|
||||
|
||||
Reference in New Issue
Block a user