General discussionSolved

I Love Your Database Tool

Hello @alex, can you share your database tool, really love it.
max
Posted by max
7 months ago. Last reply 7 months ago.
4
421
LaravelSolved

Incorrect VAT calculation

Prepare to have your brain melted. [Image](https://i.imgur.com/IpeAwCV.png) Let's dive into the code... **InvoiceItem**: ```php public function total($includeVat = false): int|float { $this->load(relations: 'vatType'); if ($includeVat) { return $this->price +...
Haz
Posted by Haz
9 months ago. Last reply 7 months ago.
7
640
Inertia

Layouts with Inertia

I have multiple layouts in my Inertia app, `Layout-Guest` and `Layout-Main`. Both use `app.blade.php`. I grab a Sign-in component from TailwindUI but it requires updating the `<html>` and `<body>` tags. Have you guys dealt with this before? I don't want to update my `app.blade.php` to add the clas...
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
1
353
InertiaSolved

Infinite scroll component breaking when navigating pages

Hello, I have grabbed the infinite scroll logic from Codecourse's Github and made a little component out of it, but I am facing an issue where it breaks the page when trying to navigate to another page that also uses the same component. The component itself works. ```vue <script setup> import...
Haz
Posted by Haz
8 months ago. Last reply 8 months ago.
2
465
Alpine.js

Livewire/Alpine conflicts

Hey all, I've no doubt there is an obvious conflict that I am missing here but I've been googling and researching for a couple of days now and cannot seem to resolve this issue. I've created a search functionality on my app (following the https://codecourse.com/courses/meilisearch-instant-search-...
tom81769
Posted by tom81769
8 months ago. Last reply 8 months ago.
1
394
InertiaSolved

Prevent logout Jetstream (Inertia)

I installed `Jetstream` and used the `Inertia` scaffolding. It's working fine, I'm able to add custom fields in the `Profile` information. However, when I change the currently logged-in user's password it is logging out. I haven't modified any middleware that came from `Jetstream` or `Fortify`. I...
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
6
535
LaravelSolved

A Simple Job Board Project

Hi folks, I was just wondering if you can help guide me to the best tutorial to learn what's needed to build a job board with filters..etc I want to build this with Inertia. My approach is that I want users to be able to filter by city, category, and skill. Additionally, do you know any open sou...
ameenz
Posted by ameenz
10 months ago. Last reply 8 months ago.
5
702
Laravel

Testing invoice PDF generation

Hello, I am running into a strange issue with a failing test. Error: ``` Unable to find a file or directory at path ``` The test: (I have slimmed it down) ``` test('a PDF is generated when an invoice is created', function () { Storage::fake(); // create a user with it's roles and perm...
Haz
Posted by Haz
8 months ago.
0
266
InertiaSolved

Passing globally needed data in HandleInertiaRequests middleware

Just curious about this one. When you want to pass data that you want to be globally available in your Inertia Vue app, is it a good practice to pass it in `HandleInertiaRequests` middleware? If we do that, are we implementing something like a `View Composer`?
whoami (Daryl)
Posted by whoami (Daryl)
8 months ago. Last reply 8 months ago.
2
310
General discussion

Please make a Learning Management System (LMS) website using laravle inertia or vue

I am writing to request assistance in setting up a Learning Management System (LMS) website. I believe an LMS platform will greatly benefit us
polash
Posted by polash
8 months ago.
0
194