Add specialty module and GP service pricing settings.
Deploy Ladill Care / deploy (push) Successful in 51s
Deploy Ladill Care / deploy (push) Successful in 51s
Admin dashboard module cards open per-module settings with editable service prices; GP consultation and clinic fees live under Settings → GP pricing (inventory drugs unchanged). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -171,7 +171,10 @@ class BillService
|
||||
|
||||
if (! in_array('consultation', $workflowChargeCodes, true)
|
||||
&& $visit->consultations()->where('status', 'completed')->exists()) {
|
||||
$fee = (int) config('care.billing.consultation_fee_minor', 5000);
|
||||
$org = Organization::query()->find($visit->organization_id);
|
||||
$fee = $org
|
||||
? app(CarePricingService::class)->consultationFee($org)
|
||||
: (int) config('care.billing.consultation_fee_minor', 5000);
|
||||
$this->addLineItem($bill, $ownerRef, [
|
||||
'type' => 'consultation',
|
||||
'description' => 'Consultation fee',
|
||||
|
||||
Reference in New Issue
Block a user