@if($isLienExiststhat != 'true')
{{Lang::get('transactions.active_lien_updated')}}
@elseif($isLitigationExists != 'true')
@elseif((!$transaction->notary_id) && ($transaction->service->code == "lien"))
{{Lang::get('transactions.please_assign_notary')}}
@elseif( ($transaction->service->code == "lien") && ($transactionData['property_lien_history']->loan_start_date == null && Sentinel::inRole('loan-administration-manager')) )
{{Lang::get('transactions.add_loan_start_date_and_end_date')}}
@elseif( Sentinel::inRole('geometer supervisor') && !isset($property->parcel_id) )
{{Lang::get('transactions.generate-parcel-number')}}
@elseif(Sentinel::inRole('customer-service'))
@if($isLitigationExists != 'false')
@if(!$transaction->notary_id)
{{Lang::get('transactions.please_assign_notary')}}
@endif
@endif
{{Lang::get('transactions.approve')}}
{{Lang::get('transactions.resurvey')}}
@elseif(Sentinel::inRole('parcel creation'))
@if($property->provisional && $property->parcel_id!=null && $migration_status == "Yes" && !$document_control)
@if($gisTransaction && $pscCheck==null)
@if(isset($psc->property_id))
{{ Lang::get('transactions.approve') }}
@else
{{ Lang::get('transactions.parent_property_not_exist') }}
@endif
@else
{{Lang::get('transactions.approve')}}
@endif
@elseif($property->address!=null && $property->parcel_id!=null && $migration_status == "Yes" && !$document_control)
@if($gisTransaction && $pscCheck==null)
@if(isset($psc->property_id))
{{ Lang::get('transactions.approve') }}
@else
{{ Lang::get('transactions.parent_property_not_exist') }}
@endif
@else
{{Lang::get('transactions.approve')}}
@endif
@else
{{Lang::get('transactions.migrate_the_parcel')}}
@endif
@elseif(Sentinel::inRole('surveyor'))
@if(($property->address!=null && $property->parcel_id!=null) || sizeof($property_boundarys)>=4 && !$document_control)
{{Lang::get('transactions.approve')}}
@else
{{Lang::get('transactions.upload_the_property')}}
@endif
@elseif(Sentinel::inRole('courtofficer'))
@if($transaction->buyer_id && $transaction->seller_id && !$document_control)
{{Lang::get('transactions.approve')}}
@elseif(!$document_control && $transaction->property->litigation)
{{Lang::get('transactions.approve')}}
@else
{{Lang::get('transactions.approve')}}
@endif
@elseif(Sentinel::inRole('delivery') && !$document_control)
{{Lang::get('transactions.approve')}}
@elseif(!$document_control)
{{Lang::get('transactions.approve')}}
@endif
@if(Sentinel::inRole('parcel creation'))
{{Lang::get('transactions.resurvey')}}
@endif
@if ($transaction->definition_id == 'src.LitigationWorkflow' && ($isLitigationExists != 'true'))
{{ Lang::get('transactions.approve') }}
@endif
@if(Sentinel::hasAccess('workflow.reject-application'))
@if(Sentinel::inRole('delivery'))
@if($transaction->id >= 28362)
{{Lang::get('transactions.reject')}}
@endif
@else
{{Lang::get('transactions.reject')}}
@endif
@endif
@endif