Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

Featured creators

Creators on the SpiderTaz Network

Become a creator →

Sale Payments with Filament Relation Manager | Laravel 13 Inventory Management System | Part 25

Webslesson Guide 16 days ago

Description

In this video, we build Sale Payments for our inventory management system in Laravel 13. You can record payments received from customers against every sale, directly from the sale page.

A customer can pay in many instalments, so every payment is saved as its own row in a new sale payments table. The paid amount, due amount, and status of the sale then update automatically, and once the full due amount is received, the sale changes from Pending to Completed. This is a Laravel Filament 5 tutorial, and it uses the Filament Relation Manager to show the payments table inside the sale page.

This series is a free Laravel project with source code, built step by step from installation to a working inventory management software. If you are looking for Laravel project ideas, or want to learn FilamentPHP 5 properly, this Laravel project tutorial is for you.

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 WHAT YOU WILL LEARN IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Creating a sale payments table with a migration
✅ Copying existing paid amounts into opening payments
✅ Building a Filament 5 Relation Manager for sale payments
✅ Stopping overpayment with a dynamic maxValue rule
✅ Showing a live Total Received row with the Sum summarizer
✅ Updating paid amount, due amount, and status automatically with an Observer
✅ Making calculated fields read-only on the sale form

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📂 FILES COVERED IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 database/migrations/create_sale_payments_table.php
📄 app/Models/SalePayment.php
📄 app/Models/Sale.php
📄 app/Observers/SalePaymentObserver.php
📄 app/Providers/AppServiceProvider.php
📄 app/Filament/Resources/Sales/RelationManagers/PaymentsRelationManager.php
📄 app/Filament/Resources/Sales/SaleResource.php
📄 app/Filament/Resources/Sales/Schemas/SaleForm.php
📄 app/Filament/Resources/Sales/Pages/CreateSale.php
📄 app/Filament/Resources/Sales/Pages/EditSale.php

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 BLOG POST + FULL SOURCE CODE
━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Blog Post with Source Code: https://www.webslesson.info/2026/08/laravel-13-filament-5-inventory-management-system.html

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📺 COMPLETE PLAYLIST — Inventory Management System in Laravel (Laravel 13 + Filament 5)
━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎬 Part 1 — Installation & Setup: https://youtu.be/796FXMF6joY
🎬 Part 2 — Database Design: https://youtu.be/5dPfGUTR9kE
🎬 Part 3 — Panel Branding & Navigation: https://youtu.be/o7jgfRGvi9s
🎬 Part 4 — Category Module: https://www.youtube.com/watch?v=UsLIgCeDshk
🎬 Part 5 — Unit Module: https://youtu.be/m8EkbuEMG-I
🎬 Part 6 — Supplier Module: https://www.youtube.com/watch?v=q7FE9loMmtM
🎬 Part 7 — Customer Module: https://youtu.be/Iy5M0yht8Fc
🎬 Part 8 — Product Module + File Upload: https://youtu.be/uZFQ2myF7nY
🎬 Part 9 — Warehouse Management: https://youtu.be/1H26vKdQFh8
🎬 Part 10 — Purchase Order Module: https://youtu.be/9novegIuDrg
🎬 Part 11 — Auto Stock Increase (Observers): https://youtu.be/rp4DGFo8blU
🎬 Part 12 — Purchase Detail View Page: https://youtu.be/HBVZ353faDk
🎬 Part 13 — Sale Management Module: https://youtu.be/VZclyNjYeX8
🎬 Part 14 — Auto Stock Decrease (Observers): https://youtu.be/7598X-LzFQc
🎬 Part 15 — Sale Detail View Page: https://youtu.be/0LCcCiau-7c
🎬 Part 16 — Stock Overview: https://youtu.be/VdpXPZHY9wk
🎬 Part 17 — Stock Adjustment: https://youtu.be/r10qOpEBJYI
🎬 Part 18 — Dashboard Widgets: https://youtu.be/tRDCtApGfH0
🎬 Part 19 — Dashboard Charts: https://youtu.be/go5mN5b57Yc
🎬 Part 20 — Stock Report: https://youtu.be/jSQILW3nd3M
🎬 Part 21 — Purchase Report: https://youtu.be/IPWet0mWko4
🎬 Part 22 — Sale Report: https://youtu.be/e22n8zT3ml8
🎬 Part 23 — Profit & Loss Report: https://youtu.be/R4V-9jHXMzU
🎬 Part 24 — Purchase Payments: https://www.youtube.com/watch?v=NcLz3NdyYtU
🎬 Part 25 — Sale Payments: (You are here)
🎬 Part 26 — User Management: Coming Soon

━━━━━━━━━━━━━━━━━━━━━━━━━━━
#Laravel #Laravel13 #Filament5 #FilamentPHP #LaravelTutorial #LaravelProject #LaravelProjectWithSourceCode #InventoryManagementSystem #InventoryManagementSoftware #InventoryManagementLaravel #LaravelProjectIdeas #FilamentRelationManager #PHP #WebDevelopment #Laravel2026