Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make service summary and details fields, add global formatters, display a modal work item details #10

Merged
merged 9 commits into from
Aug 27, 2022
Prev Previous commit
Next Next commit
variable scoping, and prevent service summary field from rendering html
  • Loading branch information
dlopez0882 committed Aug 27, 2022
commit 6281ea36a1eed5e7f53e9e710c8ce749f28c4e66
2 changes: 1 addition & 1 deletion resources/js/components/WorkItemDetailsModalComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

},
mounted () {
var workItemID = this.$attrs.data.workItemID;
let workItemID = this.$attrs.data.workItemID;
axios.get('../workitems/' + workItemID)
.then(response => {
// console.log(response)
Expand Down
3 changes: 1 addition & 2 deletions resources/views/vehicles/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
<div>{{ number_format($workOrder->mileage) }}</div>
</td>
<td class="table-text">
{{-- formatted to render html --}}
<div>{!! $workOrder->service_summary !!}</div>
<div>{{ $workOrder->service_summary }}</div>
</td>
<td class="table-text d-none d-md-table-cell">
{{ $workOrder->technician }}
Expand Down