Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into #328-highlight-and-order-calendar
Browse files Browse the repository at this point in the history
# Conflicts:
#	resources/js/Pages/Calendar.vue
  • Loading branch information
Baakoma committed Oct 25, 2024
2 parents 4d987c8 + ccc7740 commit 3b25738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/EquipmentExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function generator(): Generator
$equipmentItem->id_number,
$equipmentItem->name,
$equipmentItem->labels?->implode(", "),
$equipmentItem->is_mobile,
$equipmentItem->is_mobile ? "Tak" : "Nie",
$equipmentItem->assignee->profile->full_name ?? "",
$equipmentItem->assigned_at ? Date::dateTimeToExcel($equipmentItem->assigned_at) : "",
];
Expand Down
1 change: 1 addition & 0 deletions app/Models/EquipmentItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class EquipmentItem extends Model

protected $casts = [
"assigned_at" => "date",
"is_mobile" => "boolean",
"labels" => AsCollection::class,
];
protected $fillable = [
Expand Down

0 comments on commit 3b25738

Please sign in to comment.