develop #28

Merged
amirghasempoor merged 51 commits from develop into main 2026-06-15 11:32:19 +00:00
6 changed files with 20 additions and 9 deletions
Showing only changes of commit c9e779d726 - Show all commits

7
.gitignore vendored
View File

@@ -19,3 +19,10 @@ yarn-error.log
/.idea
/.vscode
archive.tgz
storage/avatar/
storage/cities-geojson.json
storage/compress.php
storage/images/
storage/provinces-cities-geojson copy.js
storage/provinces-cities-geojson.js
storage/provinces-geojson.json

View File

@@ -23,7 +23,7 @@ class machineReport implements FromView, ShouldAutoSize, WithDrawings, WithEvent
foreach ($this->data as $r) {
$exportRows[] = [
'machine_id' => $r->c_name ?? '',
'machine_id' => $r->machine_id ?? '',
'machine_code' => $r->machine_code ?? '',
'car_name' => $r->car_name ?? '',
'missions' => $r->missions ?? 0,

View File

@@ -47,7 +47,7 @@ class TransportationUnitController extends Controller
'state_name' => MissionStates::name($state),
'machine_id' => $machine->id,
'machine_code' => $machine->machine_code,
'driver_id' => $request->driver_id,
'driver_id' => $request->driver,
'driver_name' => Rahdaran::query()->find($request->driver)->name,
]);

View File

@@ -27,18 +27,18 @@
<table>
<thead>
<tr>
<th colspan="4"
<th colspan="5"
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="4"
<th colspan="5"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="4"
<th colspan="5"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش ماشین های ماموریت رفته
</th>

View File

@@ -46,7 +46,11 @@
<tr>
<th rowspan="1"
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">
car_type
کد یکتا
</th>
<th rowspan="1"
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">
نام راننده
</th>
<th rowspan="1"
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">

View File

@@ -27,18 +27,18 @@
<table>
<thead>
<tr>
<th colspan="4"
<th colspan="3"
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="4"
<th colspan="3"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
</th>
</tr>
<tr>
<th colspan="4"
<th colspan="3"
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
گزارش نوع ماشین های ماموریت رفته
</th>