@php $go_back_url = action([\App\Http\Controllers\SellPosController::class, 'index']); $transaction_sub_type = ''; $view_suspended_sell_url = action([\App\Http\Controllers\SellController::class, 'index']) . '?suspended=1'; $pos_redirect_url = action([\App\Http\Controllers\SellPosController::class, 'create']); @endphp @if (!empty($pos_module_data)) @foreach ($pos_module_data as $key => $value) @php if (!empty($value['go_back_url'])) { $go_back_url = $value['go_back_url']; } if (!empty($value['transaction_sub_type'])) { $transaction_sub_type = $value['transaction_sub_type']; $view_suspended_sell_url .= '&transaction_sub_type=' . $transaction_sub_type; $pos_redirect_url .= '?sub_type=' . $transaction_sub_type; } @endphp @endforeach @endif @inject('request', 'Illuminate\Http\Request')
@lang('sale.location'): @if (empty($transaction->location_id)) @if (count($business_locations) > 1)
@lang('sale.location'):