split frontend from project and Implement ci/cd

This commit is contained in:
2024-09-29 07:36:08 +00:00
parent 880afdcdef
commit b458d0d884
19389 changed files with 106 additions and 7719523 deletions

View File

@@ -1,127 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>جمع بندی عملکرد ابنیه - پروژه</title>
<style>
table,
th,
td {
border: 1px solid black;
}
</style>
</head>
<body dir="rtl" style="text-align: center;">
<table>
<thead>
<tr>
<th colspan="14"
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
تاریخ دریافت گزارش: {{verta()->now()->format('Y/m/d H:i')}}
</th>
</tr>
<tr>
<th colspan="14"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="14"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13;">
گزارش کارکرد ارتقای ایمنی راه از تاریخ
{{verta($fromFa)->format('Y/n/j')}}
تا
تاریخ
{{verta($toFa)->format('Y/n/j')}}
</th>
</tr>
<tr>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">اداره
کل</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">
شهرستان</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">نام
محور</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">نوع
محور</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">عنوان
پروژه</th>
<th colspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">نصب
حفاظ ها</th>
<th colspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">اجرای
روشنایی ها</th>
<th colspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">اجرای
علائم و خط کشی</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align: center;border:1px solid black;font-weight: bold;">
اصلاح شیب شیروانی (کیلومتر)</th>
<th rowspan="2"
style="background-color: #EBF1DE;text-align: center;border:1px solid black;font-weight: bold;">سایر
</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">تغییر
درصد پیشرفت فیزیکی</th>
<th rowspan="2"
style="background-color: #EBF1DE;border:1px solid black;text-align:center;font-weight: bold;">کد
یکتا</th>
</tr>
<tr>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;"> حفاط
بتنی (کیلومتر)</th>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;"> حفاظ
فلزی (کیلومتر)</th>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;">
روشنایی طولی (کیلومتر)</th>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;">
روشنایی نقطه ای (تعداد)</th>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;">علائم
ایمنی (تعداد)</th>
<th style="background-color: #C4D79B;border:1px solid black;text-align: center;font-weight: bold;"> خط
کشی (کیلومتر)</th>
</tr>
</thead>
<tbody>
@foreach ($array as $item)
<tr>
<td style="text-align: center;border:1px solid black;">{{$item->province_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->city_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->axis_name_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->axis_type_fa}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->project_title}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->BotoniDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->FeleziDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->TooliLightingDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{round($item->NoghteyiLightingDone) ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{round($item->AlaemImeniDone) ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->KhatkeshiDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->ShirvaniDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->SayerDone ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->progress_project ?? 0}}</td>
<td style="text-align: center;border:1px solid black;">{{$item->unique_code ?? 0}}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>