I've just done something using backbone that displays a modal edit box, where you can edit the name of a project. As this name is also displayed on the main page I want to update that at the same time. But I don't want to identify the DOM element and update it directly with the result of my edit....
I have a view (vwbalance) in mysql that i use to check the current inventory balance of our product in the store,It has been working very fine with one product.
Here is the view
CREATE VIEW vwbalance AS
SELECT
a.`id` AS `Trans No`,
a.`tdate` AS Siku,
a.`section` AS `Section`,
`g`.`p...
@KumarShanmugam no the table mst_product i just use it to get the product name only because in the trn_inventory table i only keep the product id(p_id) the inventory table is where i store the transactions
@KumarShanmugam each time a product enters the store a record is inserted in the trn_inventory table
each time a product leaves the store a record is inserted in the trn_inventory table
in the cr(product getting in) and dr(product getting out) fields store the quantities of the product for that transaction, you will find one has a value the other has 0
@KumarShanmugam thanks, i have tested it and its working! thanks alot,please answer it on the main SO question then i can accept the answer so even others will benefit from it
I have not yet succeeded. I'm in the file myproject/administrator/components/com_mycustomizedcomponent/models/component.php trying to query the database...