Skip to content

Commit

Permalink
Reverted notes to note since pivot
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Aug 10, 2022
1 parent acd666f commit ef099aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Transformers/ComponentsTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function transformComponent(Component $component)
'id' => (int) $component->company->id,
'name' => e($component->company->name),
] : null,
'note' => ($component->notes) ? e($component->note) : null,
'notes' => ($component->notes) ? e($component->notes) : null,
'created_at' => Helper::getFormattedDateObject($component->created_at, 'datetime'),
'updated_at' => Helper::getFormattedDateObject($component->updated_at, 'datetime'),
'user_can_checkout' => ($component->numRemaining() > 0) ? 1 : 0,
Expand Down

0 comments on commit ef099aa

Please sign in to comment.