I wanna give his money back
Context I am a full stack dev, and I am pretty confident in my skills lakini hii apana.
I landed this client who wanted a pos bu he wanted a mobile app not web based hearing that I quoted him a proper amount might have been my biggest project yet.
Did the job and completed it. lakini Sasa kiswahili ni that he wants to fully offline this, like offline ready, and the other issue I've had is with printing receipts.
First offline this was strange because I didn't see this coming I made some changes used Dixie dB and i was able to persist the queue and then on reconnect we sync all to the server but that brought a unique challenge multiple user instances incase of prolonged offline time there is some synchronization issues bound to happen negative stock or if they mistakenly clear the cache the queue is gone.
I strongly advised against this, but he is very adamant personally. i know it will work to some extent, and something is gonna happen, so I am not willing to hand over such a project...
Second is printing receipts I've got a pre built template that on calling the print function we pass the data as the parameters and go append them to the template but that still also gets a snapshot of the database since we have agew steps in the sale and we need to get the latest iteration so I'm not sure it will work the other thing is that I also use html2pdf to generate the pdf so that we can print it it prints with such a massive gap on the side that even Claude can't help...
Long story short, this was beyond what I could deliver, but for a client paying 300k +, I told him we could have as many features as possible, but these ones are not it.
I wanna give back the money because I refuse to hand over a half-baked buggy project that I know will fail if not used the intended way