{{ __('Working List') }}
@php
$org = env('ORG');
$orgType = env('ORG_TYPE');
$roleIds = Auth::user()->roleId();
$notify_array = [
'For Tender Approval' => [
'title' => 'Are you sure to submit this project?',
'sub_title' => 'Once you submit this project, Project will be re-sent for approval',
'method' => 'EstimateSubmit',
'btn_name' => 'Re-Submit Project',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-save',
'btn_title' => 'Submit Project',
],
'For Correction' => [
'title' => 'Are you sure to reject this project?',
'sub_title' => 'Once you submit this project, Project will be re-sent for ',
'method' => 'Correction',
'btn_name' => 'Change Reject Project',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-undo',
'btn_title' => 'Change Reject Authority',
],
'For Quotation Correction' => [
'title' => 'Are you sure to reject this project?',
'sub_title' => 'Once you submit this project, Project will be re-sent for ',
'method' => 'CorrectionAnnexture',
'btn_name' => 'Change Reject Authority',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-undo',
'btn_title' => 'Change Reject Authority',
],
'For Tender Process' => [
'title' => 'Are you sure to resend this project?',
'sub_title' => 'Once you resend this project, Project will be re-sent for dtp.',
'method' => 'EstimateAppove&DTP',
'btn_name' => 'Resend Project',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-save btn-right-margin',
'btn_title' => 'Resend Project',
],
'For DTP' => [
'title' => 'Are you sure to approve this project?',
'sub_title' => 'Once you approve this project, Project will be re-sent for dtp.',
'method' => 'EstimateAppove',
'btn_name' => 'Resend Project',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-save btn-right-margin',
'btn_title' => 'Resend Project',
],
'For DTP Approval' => [
'title' => 'Are you sure to re-submit dtp?',
'sub_title' => 'Once you submit,DTP will be re-sent for approval.',
'method' => 'CreateDTP',
'btn_name' => 'Re-Submit DTP',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-plus btn-right-margin',
'btn_title' => 'Re-Submit DTP',
],
'For Work Order' => [
'title' => 'Are you sure to re-send this work order for approval?',
'sub_title' => 'Once you re-submit this work order, The work order will be forwarded for approval.',
'method' => 'CreateWorkOrder',
'btn_name' => 'Re-Submit Work Order',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-plus btn-right-margin',
'btn_title' => 'Re-Submit Work Order',
],
'Ready for Billing' => [
'title' => 'Are you sure to re-send this work order?',
'sub_title' =>
'Once you finalized this project, Project will be ready for billing as well as you can not or remove this project.',
'method' => 'ApproveWorkOrder',
'btn_name' => 'Re-Work Order',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-plus btn-right-margin',
'btn_title' => 'Re-Send Work Order',
],
'For Technical Approval' => [
'title' => 'Are you sure to submit this project?',
'sub_title' => 'Once you submit this project, Project will be sent for approval.',
'method' => 'EstimateSubmit',
'btn_name' => 'Re-Submit & Forward',
'btn_class' => 'btn btn-submit btn-sm btn-labeled fa fa-save btn-right-margin',
'btn_title' => 'Re-Submit & Forward',
],
'For Technical Bid' => [
'title' => 'Are you sure to send for Technical Bid?',
'sub_title' => 'Once you submit,Project will be send for Technical Bid Draft.',
'method' => 'EstimateSubmit',
'btn_name' => 'Re-Submit & Forward',
'btn_class' => 'btn btn-submit btn-sm btn-labeled fa fa-save btn-right-margin',
'btn_title' => 'Re-Submit & Forward',
],
];
if ($org != 'STEM') {
// Skip resubmit option for STEM after tender process
$notify_array = [
'For Reference No' => [
'title' => 'Are you sure to re-submit this project?',
'sub_title' => 'Are you sure to approve dtp?',
'method' => 'DTPApprove',
'btn_name' => 'Re-Send DTP',
'btn_class' => 'btn btn-reforward btn-sm btn-labeled fa fa-plus btn-right-margin',
'btn_title' => 'Re-Send DTP',
],
];
}
$steps = [];
if (isset($final_authority)) {
$steps = array_column($final_authority, 'step');
}
@endphp
List of Working Project
SR NO |
PROJECT NAME |
TENDER NO |
WORK SANCTION YEAR |
STATUS |
TYPE |
CATEGORY |
TENDER AMOUNT |
ESTIMATION COST |
@if (!empty($projects))
@php
$i = 1;
$stage = 1;
@endphp
@foreach ($projects as $r)