|
@@ -191,10 +191,11 @@
|
|
|
@endif
|
|
|
<main role="main" class="w-100">
|
|
|
|
|
|
- @if(!count($pro->companyProPayers) ||
|
|
|
- ($patient->is_part_b_primary !== 'YES' && !$patient->non_mc_primary_payer_id) ||
|
|
|
- ($patient->is_part_b_primary === 'YES' && !$pro->isAssociatedWithMCPayer()) ||
|
|
|
- ($patient->is_part_b_primary !== 'YES' && $patient->non_mc_primary_payer_id && $pro->isAssociatedWithNonMCPayer($patient->non_mc_primary_payer_id))
|
|
|
+ @if(!count($pro->companyProPayers) || /* pro has no assoc with any payer */
|
|
|
+ ($patient->is_part_b_primary !== 'YES' && !$patient->non_mc_primary_payer_id) || /* patient is not part_b and has no primary non-mc payer */
|
|
|
+ ($patient->is_part_b_primary === 'YES' && !$pro->isAssociatedWithMCPayer()) || /* patient is part_b but pro has no mc payer assoc */
|
|
|
+ ($patient->is_part_b_primary !== 'YES' && $patient->non_mc_primary_payer_id && /* patient is not part_b and has non-mc-primary, but pro has no assoc with that payer */
|
|
|
+ !$pro->isAssociatedWithNonMCPayer($patient->non_mc_primary_payer_id))
|
|
|
)
|
|
|
<div class="alert alert-warning mt-3 mcp-theme-1 p-3 hide-inside-ticket-popup">
|
|
|
<div class="font-size-14 font-weight-bold">
|