Jul 22, 2020
0
Level 8
Error in PHP and HTML code mix
I am using (https://yajrabox.com/docs/laravel-datatables/master) datatable. I am using in below code to add a coloumn. But I am getting only consignee text.
->addColumn('action', function($row){ return '<div title='.$row->assignee ? "Consignee" : "Customer".' class='.$row->assignee ? "consignee" : "customer".'>C</div>'; })
Please or to participate in this conversation.