Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

Featured creators

Creators on the SpiderTaz Network

Become a creator →

Purchase Payments with Filament Relation Manager | Laravel 13 Inventory Management System | Part 24

Webslesson Guide 23 days ago

Description

In this video, we build Purchase Payments for our inventory management system in Laravel 13. For every purchase, you can add payment data, and once the full due amount has been paid, the purchase status changes automatically from Pending to Completed.

A purchase can be paid in many instalments, so every payment is saved as its own row. The paid amount, due amount, and status of the purchase then update on their own whenever a payment is added, edited, or deleted. This is a Laravel Filament 5 tutorial, and it introduces a new Filament feature for this series: the Relation Manager, which shows the payments table inside the purchase 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 purchase payments table with a migration
✅ Copying existing paid amounts into opening payments
✅ Building a Filament 5 Relation Manager for payments
✅ Stopping overpayment with a dynamic maxValue rule
✅ Showing a live Total Paid row with the Sum summarizer
✅ Updating paid amount, due amount, and status automatically with an Observer
✅ Making calculated fields read-only on the purchase form

━━━━━━━━━━━━━━━━━━━━━━━━━━━
📂 FILES COVERED IN THIS VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 database/migrations/create_purchase_payments_table.php
📄 app/Models/PurchasePayment.php
📄 app/Models/Purchase.php
📄 app/Observers/PurchasePaymentObserver.php
📄 app/Providers/AppServiceProvider.php
📄 app/Filament/Resources/Purchases/RelationManagers/PaymentsRelationManager.php
📄 app/Filament/Resources/Purchases/PurchaseResource.php
📄 app/Filament/Resources/Purchases/Schemas/PurchaseForm.php
📄 app/Filament/Resources/Purchases/Pages/CreatePurchase.php
📄 app/Filament/Resources/Purchases/Pages/EditPurchase.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 — Payment Tracking: Coming Soon
🎬 Part 25 — Sale Payments: Coming Soon

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