Icanhascookie / DBProject

0 stars 0 forks source link

Start production and deliver the pallets. #13

Open magnusvmt opened 9 years ago

magnusvmt commented 9 years ago

We need to start production and deliver the pallets. Where should we do this? I assume we do it immediately after placing an order. But should we put it in a separate php file? Or should we just do it in the database.inc file during the order transaction?

HuangLiAlex commented 9 years ago

ok, since the instruction says the production depending on last week's orders, thus I think we should check the orders first and do a bunch production at beginning of every week. that means we only need to produce the existed valid orders. maybe just a function in database.inc? then open a new window shows the produced pallets information?

HuangLiAlex commented 9 years ago

oh it's following week, so we just increase pallets with new orders.