@php $db_settings = \App\Models\Setting::get(); $settings = []; foreach ($db_settings as $row) { $settings[$row->name] = $row->value; } // Set by LabRequestController@receipt for roles that hold // "lab-request-print-without-price" — when true every amount is dropped // and only the list of requested tests is printed. $hidePrices = $hide_prices ?? false; @endphp