@extends('layouts.app') @section('title') All Work Orders @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
@permission('work-order')

List Of All Work OrderAdd Work Order

@endpermission
@if(Session::has('success')) @endif @if(Session::has('error')) @endif @if($task->count() > 0 ) @php $total_amount = 0; @endphp @foreach($task as $key => $parent_list) @if(count($parent_list->childs) ) @include('procurement.work-order.child-layout.manage-list-child',['childs' => $parent_list->childs]) @endif @if($loop->last) @endif @endforeach @endif
Name Priority Type Asignee Created By Total Cost Action
{{ $parent_list->text }} {{ Ucfirst($parent_list->task_priority) }} {{ Ucfirst($parent_list->task_type) }} - - {{ number_format($parent_list->total_cost , 2) }} @if($parent_list->node_name == 'leaf') @else {{'-'}} @endif
Subtotal : {{ number_format($parent_list->total_cost , 2) }}
@stop @section('js') @stop