|
@@ 379-393 (lines=15) @@
|
| 376 |
|
ASTPP 3.0 |
| 377 |
|
Reseller Batch Update |
| 378 |
|
* */ |
| 379 |
|
function reseller_batch_update_form() { |
| 380 |
|
|
| 381 |
|
$status = array('Status', array('name' => 'status[status]', 'id' => 'status'), 'SELECT', '', '', 'tOOL TIP', 'Please Enter account number', 'id', 'name', '', 'set_status', '', '', array('name' => 'status[operator]', 'class' => 'update_drp'), 'update_drp_type'); |
| 382 |
|
$form['forms'] = array("accounts/reseller_batch_update/", array('id' => "reseller_batch_update")); |
| 383 |
|
$form[gettext('Batch Update')] = array( |
| 384 |
|
array(gettext('Rate Group'), array('name' => 'pricelist_id[pricelist_id]', 'id' => 'pricelist_id'), 'SELECT', '', '', 'tOOL TIP', 'Please Enter account number', 'id', 'name', 'pricelists', 'build_dropdown', 'where_arr', array("status" => "0", "reseller_id" => "0"), array('name' => 'pricelist_id[operator]', 'class' => 'update_drp'), 'update_drp_type'), |
| 385 |
|
array(gettext('Balance'), 'INPUT', array('name' => 'balance[balance]', 'id' => 'balance', 'value' => '', 'size' => '20', 'class' => "text field "), '', 'Tool tips info', '1', array('name' => 'balance[operator]', 'class' => 'update_drp'), '', '', '', 'update_int_type', ''), |
| 386 |
|
|
| 387 |
|
$status, |
| 388 |
|
); |
| 389 |
|
$form['button_search'] = array('name' => 'action', 'id' => "batch_update_btn", 'content' => gettext('Update'), 'value' => 'save', 'type' => 'button', 'class' => 'btn btn-line-parrot pull-right'); |
| 390 |
|
$form['button_reset'] = array('name' => 'action', 'id' => "id_batch_reset", 'content' => gettext('Clear'), 'value' => 'cancel', 'type' => 'reset', 'class' => 'btn btn-line-sky pull-right margin-x-10'); |
| 391 |
|
|
| 392 |
|
return $form; |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
/* * ***************************************************************************************************************************** */ |
| 396 |
|
|
|
@@ 401-414 (lines=14) @@
|
| 398 |
|
ASTPP 3.0 |
| 399 |
|
Customer Batch Update |
| 400 |
|
* */ |
| 401 |
|
function customer_batch_update_form() { |
| 402 |
|
|
| 403 |
|
$status = array('Status', array('name' => 'status[status]', 'id' => 'status'), 'SELECT', '', '', 'tOOL TIP', 'Please Enter account number', 'id', 'name', '', 'set_status', '', '', array('name' => 'status[operator]', 'class' => 'update_drp'), 'update_drp_type'); |
| 404 |
|
$form['forms'] = array("accounts/customer_batch_update/", array('id' => "reseller_batch_update")); |
| 405 |
|
$form[gettext('Batch Update')] = array( |
| 406 |
|
array(gettext('Rate Group'), array('name' => 'pricelist_id[pricelist_id]', 'id' => 'pricelist_id'), 'SELECT', '', '', 'tOOL TIP', 'Please Enter account number', 'id', 'name', 'pricelists', 'build_dropdown', 'where_arr', array("status" => "0", "reseller_id" => "0"), array('name' => 'pricelist_id[operator]', 'class' => 'update_drp'), 'update_drp_type'), |
| 407 |
|
array(gettext('Balance'), 'INPUT', array('name' => 'balance[balance]', 'id' => 'balance', 'value' => '', 'size' => '20', 'class' => "text field "), '', 'Tool tips info', '1', array('name' => 'balance[operator]', 'class' => 'update_drp'), '', '', '', 'update_int_type', ''), |
| 408 |
|
$status, |
| 409 |
|
); |
| 410 |
|
$form['button_search'] = array('name' => 'action', 'id' => "batch_update_btn", 'content' => gettext('Update'), 'value' => 'save', 'type' => 'button', 'class' => 'btn btn-line-parrot pull-right'); |
| 411 |
|
$form['button_reset'] = array('name' => 'action', 'id' => "id_batch_reset", 'content' => gettext('Clear'), 'value' => 'cancel', 'type' => 'reset', 'class' => 'btn btn-line-sky pull-right margin-x-10'); |
| 412 |
|
|
| 413 |
|
return $form; |
| 414 |
|
} |
| 415 |
|
|
| 416 |
|
/* * ***************************************************************************************************************************** */ |
| 417 |
|
|