Build Mas Rudi's bike wash app in Laravel: Blade, the container, events, queues, policies, tests. 16 levels, right in the browser.
<h1>BAGAS JUARA 1</h1>. Pick how papan.blade.php prints the customer's name, so the TV writes each person's name exactly as they typed it, with nothing turning into HTML.Belum ada antrean. Silakan masuk! (no queue yet, come on in) when it is empty, and to number the queue from 1 once bikes arrive. Pick the loop's opening, its number, and its closing.<x-kartu-motor> component: the plate is sent as a prop, the owner's name through the slot. The page uses the layouts.tv layout. Pick the page section to fill and how to send the plate, so the TV shows three cards, each with its own bike's plate.CucianController asks for PengirimWa through its constructor, and PengirimWa is an interface. Pick what is bound in AppServiceProvider, so the phones of Mr. Tono and Mrs. Sari really ring.BilikSteam hands out bay numbers during one request; the fourth and fifth bikes must wait. BilikSteam needs a number, $kapasitas. Pick how to give it that capacity and how the container shares BilikSteam.CucianController sends the MotorSelesai event. Three listeners respond: CatatPendapatan, BeriCap (a stamp on the member card; five stamps mean a free wash) and KirimWaSiap. Mr. Tono already has four stamps. Arrange the order they are registered in, so Mr. Tono's WhatsApp tells him about his fifth stamp.CekLunas at the front and BebaskanBilik at the back. Bagas has not paid: his bike must stay in its bay, with no income, stamp or WhatsApp. Grandma Marni has paid but has no phone: her bay must be free again. Pick what CekLunas does for an unpaid bike, and how KirimWaSiap sends its message.php artisan queue:work. Pick how KirimWaSiap is declared and the queue connection in .env, so no WhatsApp is sent while the till waits, and all of them arrive afterwards.KirimStruk job. At 14.00 the WhatsApp provider goes down for 20 seconds, just as three bikes are finished. Ms. Wulan's number is also refused by the provider because it is not registered. The receipts for the neighbourhood head and Mrs. Sari must still arrive, and Ms. Wulan's failed receipt must be marked so Mr. Rudi prints it. Pick the number of tries, the wait between them, and what happens when the job gives up.KirimStruk also writes a row to Mr. Rudi's daily recap. This afternoon the recap failed once for Mr. Tono's bike, and the WhatsApp provider failed once for Mrs. Sari. The job is tried up to three times. Pick how the receipt is sent, so each person gets exactly one receipt even when the job is retried.KirimStruk is declared and its unique key, so Mr. Tono gets one receipt and Ms. Wulan two, one per bike.CucianPolicy::batal allows only the booking's owner. Bagas opens Mr. Tono's booking, then sends a cancel request straight from his phone without pressing any button. Pick how the controller guards cancelling and how the page shows the button.And more, 16 levels in all.