@extends('layouts.main_without_top_button', ['title' => 'TRIP REQUISITION | LOGISTICS']) @section('navigation') @stop @section('title', 'Truck Mileages') {{$requisition->approval_chain_module_id}} @section('contentinner')
next_stage == -1) action="{{route('requisitions.truck_mileages.issue_payments.store',['requisitions'=>$requisition->id])}}" @else action="{{route('requisitions.truck_mileages.approvals.store',['requisitions'=>$requisition->id])}}" @endif > @if((Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) == $requisition->next_stage) & (Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) != -1)) @include('requisitions.auto_generated.responses.truck_mileages._views._approval', ['credit_account_groups'=>$credit_account_groups,'agents' =>$agents, 'cash_requisition_item_descriptions'=>$cash_requisition_item_descriptions]) @if(($requisition->status != 1 || $requisition->status != 7 || $requisition->status != 8) && Auth::user()->can('CANCEL OR REJECT REQUEST') ) REJECT @endif @elseif(($requisition->next_stage == -1)) {{--& (Auth::user()->getApprovalChainLevelId($requisition->approval_chain_module_id) == -1)--}} @include('requisitions.auto_generated.responses.truck_mileages._views._contra_vouchers', ['credit_account_groups'=>$credit_account_groups,'last_requisition_approval'=>$last_requisition_approval,'agents' =>$agents,]) @else @if(($requisition->status != 1 || $requisition->status != 7 || $requisition->status != 8) && Auth::user()->can('CANCEL OR REJECT REQUEST') ) REJECT @endif is_printed == 1)style="background: green" @endif class="btn" target="_blank" href="{{route('requisitions.documents.prints', [$requisition->id])}}">  PRINT REQUEST2 @if(auth()->user()->can('REFRESH REQUISITIONS') && $requisition->is_printed == 1)  REMOVE COPPY @endif @endif
@endsection