go2ismail / Asp.Net-Core-Inventory-Order-Management-System

ASP.NET Core Razor Pages implementation of inventory order management. Warehouse, product, vendor, customer, purchase order, sales order, shipment, goods receive and more
https://whms-lte.csharpasp.net/
Other
822 stars 528 forks source link

Purchase Orders #24

Closed ValkyrX closed 3 months ago

ValkyrX commented 3 months ago

Can i edit the Purchase order form so it includes our logo also can we email the PO straight to the suppliers contact email ?

go2ismail commented 3 months ago

Yes you can edit all forms and also all other parts of this project code. yes you can sending email in response of any kind of event by injecting your email implementation or injecting existing email service:

image

ValkyrX commented 3 months ago

Thanks for this , so how do I inject the existing code into the po section ? Sorry I'm a newbie with this type of thing

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: go2ismail @.> Sent: Tuesday, May 28, 2024 2:05:23 PM To: go2ismail/Asp.Net-Core-Inventory-Order-Management-System @.> Cc: Kurt Ingleson @.>; Author @.> Subject: Re: [go2ismail/Asp.Net-Core-Inventory-Order-Management-System] Purchase Orders (Issue #24)

Yes you can edit all forms and also all other parts of this project code. yes you can sending email in response of any kind of event by injecting your email implementation or injecting existing email service:

image.png (view on web)https://github.com/go2ismail/Asp.Net-Core-Inventory-Order-Management-System/assets/2275051/29c63f78-d9b3-4e18-8260-2c368daa84cd

— Reply to this email directly, view it on GitHubhttps://github.com/go2ismail/Asp.Net-Core-Inventory-Order-Management-System/issues/24#issuecomment-2135170039, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHHDNYDWDSATWQYY4TQAI3ZER6JHAVCNFSM6AAAAABIMQ4C4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGE3TAMBTHE. You are receiving this because you authored the thread.Message ID: @.***>

go2ismail commented 3 months ago

Hi,

this ref about dependency injection: https://learn.microsoft.com/en-US/aspnet/web-api/overview/advanced/dependency-injection there are a lot more in internet.

below are example how we can inject email service through constructor:

image

ValkyrX commented 3 months ago

Ok i sorted logo , is there anyway to set a custom PO number ?

go2ismail commented 3 months ago

Hi,

Custom number sequence features already there. You can customize it to fit your needs.

image

image