Dashboard scanline: sync/bmpa none links to order governance actions
This commit is contained in:
@@ -839,6 +839,7 @@
|
||||
@forelse(($recentPlatformOrders ?? []) as $po)
|
||||
@php
|
||||
$poShowUrl = \App\Support\BackUrl::withBack('/admin/platform-orders/' . $po->id, $selfWithoutBack);
|
||||
$poShowGovernanceUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'order-governance-actions');
|
||||
|
||||
$hasReceiptEvidence = (data_get($po->meta, 'payment_summary.total_amount') !== null)
|
||||
|| (data_get($po->meta, 'payment_receipts.0.amount') !== null);
|
||||
@@ -988,7 +989,7 @@
|
||||
@elseif($syncStatusText === '成功')
|
||||
<a class="link" href="{!! $syncedListUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
|
||||
@else
|
||||
<strong>{{ $syncStatusText }}</strong>
|
||||
<a class="link" href="{!! $poShowGovernanceUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
|
||||
@endif
|
||||
</span>
|
||||
<span class="adm-order-scansep">|</span>
|
||||
@@ -999,7 +1000,7 @@
|
||||
@elseif($bmpaStatusText === '成功' && $scanGoBmpaSuccessUrl !== '')
|
||||
<a class="link" href="{!! $scanGoBmpaSuccessUrl !!}"><strong>{{ $bmpaStatusText }}</strong></a>
|
||||
@else
|
||||
<strong>{{ $bmpaStatusText }}</strong>
|
||||
<a class="link" href="{!! $poShowGovernanceUrl !!}"><strong>{{ $bmpaStatusText }}</strong></a>
|
||||
@endif
|
||||
</span>
|
||||
<span class="adm-order-scansep">|</span>
|
||||
|
||||
Reference in New Issue
Block a user