Topic: Add new field in Customer branch
Hello. I would like to add a few field in customer branch. I want to break down address into street, barangay (village), town
I have edited sales/manage/customer_branches.php
The fields are appearing on the webpage but they dont seem to get saved on the table 0_cust_branch.
here are lines i added/changed
84       $_POST['default_ship_via'], $_POST['notes'], $_POST['br_street'], $_POST['br_barangay'], $_POST['br_town']);
96       $_POST['default_ship_via'], $_POST['notes'], $_POST['br_street'], $_POST['br_barangay'], $_POST['br_town']);
207       $_POST['br_street'] = $myrow["br_street"];
208       $_POST['br_barangay'] = $myrow["br_barangay"];
209       $_POST['br_town'] = $myrow["br_town"];
266        table_section_title(_("Addresses"));  // added the 3 lines below
267       text_row(_("Street:"), 'br_street', null, 32, 30);
268     text_row(_("Barangay:"), 'br_barangay', null, 32, 30);
269     text_row(_("Town:"), 'br_town', null, 32, 30);
Are there anything else I need to change in this file or another?
