feat(qma): implement unit transfer for heavy equipment with bast and transporter tracking

This commit is contained in:
Ray1111-aa
2026-10-21 14:30:01 +07:00
parent 8e89d029bd
commit 4eb713aafb
13 changed files with 2356 additions and 17 deletions
+7 -1
View File
@@ -58,6 +58,12 @@ class VehicleLocationHistory extends Model
public function getSourceLabelAttribute(): string
{
return $this->source === 'gate_crossing' ? 'Pos Gerbang (Otomatis)' : 'Manual QMA';
if ($this->source === 'gate_crossing') {
return 'Pos Gerbang (Otomatis)';
}
if ($this->source === 'transfer') {
return 'Transfer Unit (BAST)';
}
return 'Manual QMA';
}
}