frontaccounting Customization create module form Components
In this Post We Will Explain About is frontaccounting Customization create module form Components With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to Open Source Frontaccounting Customization and Module DevelopmentExample
In this post we will show you Best way to implement How to Create Modules for Frontaccounting , hear for frontaccounting developer guidewith Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.
1.Textbox :
text_row(_("Employee Name:"), 'EmplName', $_POST['EmplName'], 40, 80);
2.Textarea :
textarea_row(_("Present Address:"), 'pre_address', $_POST['pre_address'], 35, 5);
3.Select Options :
kv_empl_gender_list_row( _("Gender:"), 'gender', null); function kv_empl_gender_list_row($label, $name, $selected_id=null, $submit_on_change=false) { global $kv_empl_gender; echo "\n"; } $kv_empl_gender = array( 1 => _('Male'), 2 => _('Female'), 3 => _('Other'), ); $label "; $options = array( 'select_submit'=> $submit_on_change ); echo array_selector($name, $selected_id, $kv_empl_gender, $options); echo "
4.Checkbox :
check_row(_("PF*:"), 'empl_pf', null);
5. Button :
submit_center('submit', _("Add New Employee"), true, '', 'default'); submit_cells('AddItem', _("Add Item"), "colspan=2",_('Add new item to document'), true); button_cell('UpdateItem', _("Update"),_('Confirm changes'), ICON_UPDATE); button_cell('CancelItemChanges', _("Cancel"),_('Cancel changes'), ICON_CANCEL); function submit_center($name, $value, $echo=true, $title=false, $async=false, $icon=false) { if ($echo) echo ""; submit($name, $value, $echo, $title, $async, $icon); if ($echo) echo ""; }
6. DatePicker:
date_row(_("Date of Birth") . ":", 'date_of_birth'); date_row(_("Date:"), 'AdjDate', '', true); $js = ""; if ($use_popup_windows) $js .= get_js_open_window(900, 500); if ($use_date_picker) $js .= get_js_date_picker(); include_once($path_to_root . "/includes/date_functions.inc");
7.Hidden fields
hidden('LineNo', $line_no); hidden('stock_id', $_POST['stock_id']);
8.Label Fields
label_cell($_POST['stock_id']); label_cell($order->line_items[$id]->item_description, 'nowrap');
9.numeric Fields
$price = get_purchase_value($_POST['stock_id']); amount_cell($price, false, '', 'initial_price');
10.table row
echo "
"; start_table(); textarea_row(_("Memo"), 'memo_', null, 50, 3); end_table(1);
I hope you have Got What is And how it works.I would Like to have FeadBack From My Blog(Pakainfo.com) readers.Your Valuable FeadBack,Any Question,or any Comments abaout This Article(Pakainfo.com) Are Most Always Welcome.