Ajax in Laravel Blade

Solution:

Your question has a lot more to do with javascript than it does with blade syntax or Laravel.

Laravel uses blade to turn your server data (list of receipts in your case) in to HTML which is sent to the browser. From there, AJAX (communicating with the server from the browser) is done from the client with Javascript.

The current official way to do this using Laravel is to implement something using Vue.js, but if you have not yet then I suggest you simply use jQuery.

To call something every second in Javascript you can use:

setInterval(function() {
    ...
}, 1000);

Inside the function you can use jQuery’s $.get to retrieve results and replace the contents of your list. The simplest way again would be to call an action which returns just the above rendered HTML.

I hope this gets you on your way.