develop #28
7
.gitignore
vendored
7
.gitignore
vendored
@@ -19,3 +19,10 @@ yarn-error.log
|
|||||||
/.idea
|
/.idea
|
||||||
/.vscode
|
/.vscode
|
||||||
archive.tgz
|
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
|
||||||
@@ -23,7 +23,7 @@ class machineReport implements FromView, ShouldAutoSize, WithDrawings, WithEvent
|
|||||||
|
|
||||||
foreach ($this->data as $r) {
|
foreach ($this->data as $r) {
|
||||||
$exportRows[] = [
|
$exportRows[] = [
|
||||||
'machine_id' => $r->c_name ?? '',
|
'machine_id' => $r->machine_id ?? '',
|
||||||
'machine_code' => $r->machine_code ?? '',
|
'machine_code' => $r->machine_code ?? '',
|
||||||
'car_name' => $r->car_name ?? '',
|
'car_name' => $r->car_name ?? '',
|
||||||
'missions' => $r->missions ?? 0,
|
'missions' => $r->missions ?? 0,
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class TransportationUnitController extends Controller
|
|||||||
'state_name' => MissionStates::name($state),
|
'state_name' => MissionStates::name($state),
|
||||||
'machine_id' => $machine->id,
|
'machine_id' => $machine->id,
|
||||||
'machine_code' => $machine->machine_code,
|
'machine_code' => $machine->machine_code,
|
||||||
'driver_id' => $request->driver_id,
|
'driver_id' => $request->driver,
|
||||||
'driver_name' => Rahdaran::query()->find($request->driver)->name,
|
'driver_name' => Rahdaran::query()->find($request->driver)->name,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@@ -27,18 +27,18 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4"
|
<th colspan="5"
|
||||||
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
|
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
|
||||||
تاریخ دریافت گزارش: {{ verta()->now()->format('Y/m/d H:i') }}
|
تاریخ دریافت گزارش: {{ verta()->now()->format('Y/m/d H:i') }}
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4"
|
<th colspan="5"
|
||||||
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
|
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<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;">
|
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
|
||||||
گزارش ماشین های ماموریت رفته
|
گزارش ماشین های ماموریت رفته
|
||||||
</th>
|
</th>
|
||||||
|
|||||||
@@ -46,7 +46,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th rowspan="1"
|
<th rowspan="1"
|
||||||
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">
|
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>
|
||||||
<th rowspan="1"
|
<th rowspan="1"
|
||||||
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">
|
style="text-align: center;border: 1px solid black;background-color: #EBF1DE;font-weight: bold;">
|
||||||
|
|||||||
@@ -27,18 +27,18 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4"
|
<th colspan="3"
|
||||||
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
|
style="background-color: #DAEEF3;text-align: center;border-right: 1px solid black;font-weight:bolder;">
|
||||||
تاریخ دریافت گزارش: {{ verta()->now()->format('Y/m/d H:i') }}
|
تاریخ دریافت گزارش: {{ verta()->now()->format('Y/m/d H:i') }}
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4"
|
<th colspan="3"
|
||||||
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
|
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;">
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<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;">
|
style="background-color: #DAEEF3;text-align: center;border-right:1px solid black;font-weight:bolder;font-size: 13px;">
|
||||||
گزارش نوع ماشین های ماموریت رفته
|
گزارش نوع ماشین های ماموریت رفته
|
||||||
</th>
|
</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user