summaryrefslogtreecommitdiff
path: root/UI/Contact/contact.html
blob: 75851e2b2d192b71642d27b329c162d979531287 (plain)
  1. <?lsmb INCLUDE 'ui-header.html'
  2. include_stylesheet = [
  3. stylesheet
  4. 'UI/Contact/contact.css'
  5. ] ?>
  6. <?lsmb PROCESS 'elements.html' ?>
  7. <body>
  8. <?lsmb IF name ?>
  9. <div class="pageheading"><?lsmb name?></font>
  10. <?lsmb END ?>
  11. <div class="navigation" id="nav_div">
  12. <?lsmb IF entity_id ?><?lsmb operation = "Edit" ?><?lsmb ELSE
  13. ?><?lsmb operation = "Add"
  14. ?><?lsmb END ?>
  15. <!-- CT: Keys for localization scripts:
  16. <?lsmb text("Add Customer") ?>
  17. <?lsmb text("Edit Customer") ?>
  18. <?lsmb text("Add Vendor") ?>
  19. <?lsmb text("Edit Vendor") ?>
  20. <?lsmb text("Add Employee") ?>
  21. <?lsmb text("Edit Employee") ?>
  22. -->
  23. <ul class="navigation">
  24. <?lsmb IF entity_class == 3 ?>
  25. <li><a href="#hr_div"><?lsmb text('HR') ?></a></li>
  26. <?lsmb ELSE ?>
  27. <li><a href="#company_div"><?lsmb text('Company') ?></a></li>
  28. <li><a href="#credit_div"><?lsmb text('Accounts') ?></a></li>
  29. <?lsmb END ?>
  30. <?lsmb IF entity_id ?>
  31. <li><a href="#location_div"><?lsmb text('Addresses') ?></a></li>
  32. <li><a href="#contact_div"><?lsmb text('Contact Info') ?></a></li>
  33. <li><a href="#bank_div"><?lsmb text('Bank Accounts') ?></a></li>
  34. <li><a href="#notes_div"><?lsmb text('Notes') ?></a></li>
  35. <!-- Commented out as not yet implemented -CT
  36. <li><a href="#history_div"><?lsmb text('History') ?></a></li>
  37. <li><a href="#user_div"><?lsmb text('User') ?></a></li>
  38. -->
  39. <?lsmb END ?>
  40. </ul>
  41. </div>
  42. <?lsmb IF entity_class == 3 ?>
  43. <div id="hr_div" class="container">
  44. <div class="listtop"><strong><?lsmb text("$operation Employee") ?></strong></div>
  45. <form name="hr" action="<?lsmb script ?>" method="post">
  46. <?lsmb PROCESS input element_data = {
  47. type = "hidden"
  48. name = "entity_id"
  49. value = entity_id
  50. } ?>
  51. <div class="input" id="person_name_div"><?lsmb text('Name:')?>&nbsp;
  52. <!-- TODO: Add Saluatation -->
  53. <?lsmb PROCESS input element_data = {
  54. label = text('First')
  55. name = "first_name"
  56. value = first_name
  57. type = "text"
  58. size = 20
  59. } ?>
  60. <?lsmb PROCESS input element_data = {
  61. label = text('Middle')
  62. name = "middle_name"
  63. value = middle_name
  64. type = "text"
  65. size = 20
  66. } ?>
  67. <?lsmb PROCESS input element_data = {
  68. label = text('Last')
  69. name = "last_name"
  70. value = last_name
  71. type = "text"
  72. size = 20
  73. } ?>
  74. </div>
  75. <div id="job_title_div">
  76. <!-- Note that the strange # ' constructs are only necessary to help VIM avoid
  77. problems with multi-word single-quoted constructs in PI tags. -CT -->
  78. <?lsmb PROCESS input element_data = {
  79. label = text('Job Title:')
  80. name = "role"
  81. value = role
  82. type = "text"
  83. size = 20
  84. } # ' ?>
  85. <?lsmb PROCESS input element_data = {
  86. label = text('Sales:')
  87. value = 1
  88. type = "checkbox"
  89. checked = sales
  90. name = "sales"
  91. } ?>
  92. <?lsmb PROCESS input element_data = {
  93. label = text('Employee Number')
  94. value = employee_number
  95. name = "employee_number"
  96. type = "text"
  97. size = 20
  98. } # ' ?>
  99. <label for="manager_select"><?lsmb text('Manager:') ?></label>
  100. <select id="manager_select" name="manager_id">
  101. <?lsmb FOREACH e = employee ?>
  102. <option value = e.entity_id <?lsmb (manager_id == e.entity_id) ? "SELECTED" : ""?><?lsmb e.name ?></option>
  103. <?lsmb END ?>
  104. </select>
  105. <div>
  106. <?lsmb PROCESS input element_data = {
  107. label = text('DOB:')
  108. name = "dob"
  109. value = dob
  110. type = "text"
  111. class = "date"
  112. size = 10
  113. } ?>
  114. <?lsmb PROCESS input element_data = {
  115. label = text('Start Date:')
  116. name = "start_date"
  117. value = start_date
  118. type = "text"
  119. class = "date"
  120. size = 10
  121. } # ' ?>
  122. <?lsmb PROCESS input element_data = {
  123. label = text('End Date:')
  124. name = "end_date"
  125. value = end_date
  126. class = "text"
  127. type = "text"
  128. size = 10
  129. } # ' ?>
  130. <div>
  131. <?lsmb PROCESS button element_data = {
  132. text = text('Save')
  133. class = "submit"
  134. type = "submit"
  135. value = "save_employee"
  136. } ?>
  137. </div>
  138. </form>
  139. <?lsmb ELSE ?>
  140. <div class="container" id="company_div">
  141. <?lsmb SWITCH entity_class
  142. ?><?lsmb CASE 1 ?><?lsmb entity_classname = "Vendor"
  143. ?><?lsmb CASE 2 ?><?lsmb entity_classname = "Customer"
  144. ?><?lsmb END ?>
  145. <div class="listtop"><strong><?lsmb text("$operation $entity_classname") ?></strong></div>
  146. <?lsmb FOREACH n = notes ?>
  147. <div class="entity_note"><?lsmb n.note ?></div>
  148. <?lsmb END ?>
  149. <form name="customer" method="POST" action="<?lsmb script ?>">
  150. <?lsmb PROCESS input element_data = {
  151. type = "hidden"
  152. name = "entity_id"
  153. value = entity_id
  154. } ?>
  155. <?lsmb PROCESS input element_data = {
  156. type = "hidden"
  157. name = "id"
  158. value = id
  159. } ?>
  160. <?lsmb PROCESS input element_data = {
  161. type = "hidden"
  162. name = "account_class"
  163. value = account_class
  164. } ?>
  165. <?lsmb PROCESS input element_data = {
  166. label = text('Name:'),
  167. type= "text",
  168. name = "name",
  169. value = name,
  170. size = "20"
  171. } ?><br/>
  172. <table>
  173. <tr>
  174. <td>
  175. <?lsmb INCLUDE input element_data = {
  176. label = text('Tax Number/SSN:'),
  177. name = "tax_id",
  178. value = tax_id,
  179. type = "text",
  180. size = "19"
  181. } #' ?>
  182. </td>
  183. <td>
  184. <?lsmb INCLUDE input element_data = {
  185. label = text('SIC:'),
  186. name = "sic_code",
  187. value = sic_code,
  188. type = "text",
  189. size = "19",
  190. class = 'sic'
  191. } ?>
  192. </td>
  193. </tr>
  194. </table>
  195. <hr/>
  196. <?lsmb INCLUDE button element_data = {
  197. text = text('Save'),
  198. class="submit"
  199. type="submit"
  200. name="action"
  201. value="save"
  202. accesskey="S"
  203. title="Save [Alt-S]"
  204. } ?>
  205. </form>
  206. </div>
  207. <div id="credit_div">
  208. <div class="listtop"><strong>Accounts</strong</div>
  209. <table width="100%">
  210. <tr class="listheading">
  211. <th class="account_class"><?lsmb text('Type') ?></th>
  212. <th class="number"><?lsmb text("Number") ?></th>
  213. <th class="credit_limit"><?lsmb text('Credit Limit') ?></th>
  214. <th class="start_date"><?lsmb text('Start Date') ?></th>
  215. <th class="end_date"><?lsmb text('End Date') ?></th>
  216. </tr>
  217. <?lsmb FOREACH cl_item = credit_list ?>
  218. <tr>
  219. <td><?lsmb IF cl_item.entity_class == 1 ?><?lsmb text('Vendor') ?>
  220. <?lsmb ELSIF cl_item.entity_class == 2 ?><?lsmb text('Customer') ?>
  221. <?lsmb END ?>
  222. </td>
  223. <td><?lsmb cl_item.meta_number ?></td>
  224. <td><?lsmb cl_item.credit_limit ?></td>
  225. <td><?lsmb cl_item.start_date ?></td>
  226. <td><?lsmb cl_item.end_date ?></td>
  227. </tr>
  228. <?lsmb END ?>
  229. </table>
  230. <form id="credit_form" name="credit_form" method="post"
  231. action="<?lsmb script ?>">
  232. <?lsmb PROCESS input element_data = {
  233. type = "hidden"
  234. name = "entity_id"
  235. value = entity_id
  236. } ?>
  237. <?lsmb PROCESS input element_data = {
  238. type = "hidden"
  239. name = "credit_id"
  240. value = credit_id
  241. } ?>
  242. <?lsmb PROCESS input element_data = {
  243. type = "hidden"
  244. name = "account_class"
  245. value = account_class
  246. } ?>
  247. <?lsmb PROCESS input element_data = {
  248. label = text("$entity_classname Number:"),
  249. type= "text",
  250. name = "meta_number",
  251. value = meta_number,
  252. size = "20"
  253. } # " ?><br/>
  254. <table>
  255. <tr>
  256. <td>
  257. <?lsmb PROCESS input element_data = {
  258. label = text('Starting Date:'),
  259. name = "startdate",
  260. class = "date",
  261. value = startdate,
  262. type = "text",
  263. size = "12",
  264. maxlength = "10"
  265. } #' ?>
  266. </td>
  267. <td>
  268. <?lsmb PROCESS input element_data = {
  269. label = text('End Date:'),
  270. name = "enddate",
  271. class = "date",
  272. value = enddate,
  273. type = "text",
  274. size = "12",
  275. maxlength = "10"
  276. } #' ?>
  277. </td>
  278. </tr>
  279. <tr>
  280. <td>
  281. <?lsmb INCLUDE input element_data = {
  282. label = text('Credit Limit:'),
  283. name = "creditlimit",
  284. value = creditlimit,
  285. type = "text",
  286. size = "20"
  287. } #' ?>
  288. </td>
  289. <td>
  290. <?lsmb INCLUDE input element_data = {
  291. label = text('Terms:'),
  292. name = "terms",
  293. value = terms,
  294. type = "text",
  295. size = "5"
  296. } ?> <?lsmb text('days') ?>
  297. </td>
  298. </tr>
  299. <tr>
  300. <td>
  301. <?lsmb INCLUDE input element_data = {
  302. label = text('Discount:'),
  303. name = "discount",
  304. value = discount,
  305. type = "text",
  306. size = "3",
  307. maxlength = 3
  308. } ?>% /
  309. <?lsmb INCLUDE input element_data = {
  310. name = "discount_terms",
  311. value = discount_terms,
  312. type = "text",
  313. size = "3",
  314. maxlength = 3
  315. } ?> <?lsmb text('days') ?>
  316. </td>
  317. <td>
  318. <?lsmb INCLUDE input element_data = {
  319. label = text('Subcontract GIFI:'),
  320. name = "gifi_accno",
  321. value = gifi_accno,
  322. type = "text",
  323. size = "19"
  324. } #' ?>
  325. </td>
  326. </tr>
  327. <tr>
  328. <td> <?lsmb INCLUDE select element_data = {
  329. name = "ar_ap_account_id"
  330. default_values = [ar_ap_account_id]
  331. options = ar_ap_acc_list
  332. label = text((account_class == 1) ? 'AP' : 'AR')
  333. text_attr = "text"
  334. value_attr = "id"
  335. } ?>
  336. </td>
  337. <td> <?lsmb INCLUDE select element_data = {
  338. name = "cash_account_id"
  339. default_values = [cash_account_id]
  340. options = cash_acc_list
  341. label = text('Payment')
  342. text_attr = "text"
  343. value_attr = "id"
  344. } ?>
  345. </td>
  346. </tr>
  347. <tr>
  348. <td> <?lsmb INCLUDE select element_data = {
  349. name = "business_id"
  350. options = business_types
  351. default_values = [business_id]
  352. text_attr = "description"
  353. value_attr = "id"
  354. label = text('Business Type:') #'
  355. } ?>
  356. </td>
  357. <td> <?lsmb INCLUDE input element_data = {
  358. name = "threshold"
  359. value = threshold
  360. type = "text"
  361. size = "20"
  362. label = text('Threshold')
  363. class = "numeric"
  364. } ?>
  365. </tr>
  366. </table>
  367. <?lsmb INCLUDE button element_data = {
  368. text = text('Save'),
  369. class="submit"
  370. type="submit"
  371. name="action"
  372. value="save_credit"
  373. accesskey="C"
  374. title="Save Credit Account[Alt-C]"
  375. } ?>
  376. <?lsmb INCLUDE button element_data = {
  377. text = text('Save New'),
  378. class="submit"
  379. type="submit"
  380. name="action"
  381. value="save_credit_new"
  382. title="Save Credit Account as New" #'
  383. } ?>
  384. <?lsmb INCLUDE button element_data = {
  385. class="submit"
  386. type="submit"
  387. name="action"
  388. value="add_transaction"
  389. accesskey="A"
  390. title="Transaction [Alt-A]"
  391. text = (entity_class == 1) ? text('AP Transaction') : text('AR Transaction')
  392. } ?>
  393. <?lsmb INCLUDE button element_data = {
  394. class="submit"
  395. type="submit"
  396. name="action"
  397. value="add_invoice"
  398. accesskey="I"
  399. title="Invoice [Alt-I]"
  400. text = (entity_class == 1) ? text('Vendor Invoice') : text('Customer Invoice')
  401. } ?>
  402. <?lsmb INCLUDE button element_data = {
  403. class="submit"
  404. type="submit"
  405. name="action"
  406. value="add_order"
  407. accesskey="O"
  408. title="Order [Alt-O]"
  409. text = (entity_class == 1) ? text('Purchase Order') : text('Sales Order')
  410. } ?>
  411. <?lsmb INCLUDE button element_data = {
  412. class="submit"
  413. type="submit"
  414. name="action"
  415. value="rfq"
  416. accesskey="Q"
  417. title="Quotation [Alt-Q]"
  418. text = (entity_class == 1) ? text('RFQ') : text('Quotation')
  419. } ?>
  420. <?lsmb INCLUDE button element_data = {
  421. class="submit"
  422. type="submit"
  423. name="action"
  424. value="pricelist"
  425. accesskey="P"
  426. title="Pricelist [Alt-P]"
  427. text = text('Pricelist')
  428. } ?>
  429. </form>
  430. </div>
  431. <?lsmb END ?>
  432. <?lsmb IF entity_id ?>
  433. <div id="location_div" class="container">
  434. <div class="listtop"><?lsmb text('Locations') ?></div>
  435. <!-- This entire form should probably be optionaly automated with AJAX
  436. in order to prevent user confusion -CT -->
  437. <form id="location_form" action="<?lsmb script ?>">
  438. <?lsmb PROCESS input element_data = {
  439. type="hidden"
  440. name="entity_id"
  441. value=entity_id
  442. } ?>
  443. <?lsmb PROCESS input element_data = {
  444. type="hidden"
  445. name="location_id"
  446. value=location_id
  447. } ?>
  448. <table width="100%">
  449. <tr class="listheading">
  450. <th class="type"><?lsmb text('Type') ?></th>
  451. <th class="line_one"><?lsmb text('Address1') ?></th>
  452. <th class="city"><?lsmb text('City') ?></th>
  453. <th class="state"><?lsmb text('State/Province') ?></th>
  454. <th class="mail_code"><?lsmb text('ZIP/Post Code') ?></th>
  455. <th class="country"><?lsmb text('Country') ?></th>
  456. <th class="actions"><?lsmb text('Actions') ?></th>
  457. </tr>
  458. <?lsmb FOREACH loc = locations ?>
  459. <tr>
  460. <td class="type"><?lsmb loc.class ?></td>
  461. <td class="line_one"><?lsmb loc.line_one ?></td>
  462. <td class="city"><?lsmb loc.city ?></td>
  463. <td class="state"><?lsmb loc.state ?></td>
  464. <td class="mail_code"><?lsmb loc.mail_code ?></td>
  465. <td class="country"><?lsmb loc.country ?></td>
  466. <td class="actions">
  467. <!-- TODO: Automate links with AJAX -->
  468. <a href="<?lsmb script ?>?action=edit&entity_id=<?lsmb id
  469. ?>&location_id=<?lsmb loc.id ?>">[edit]</a>
  470. <a href="<?lsmb script ?>?action=delete_location&entity_id=<?lsmb
  471. id ?>&location_id=<?lmb loc.id ?>">[delete]</a>
  472. </td>
  473. </tr>
  474. <?lsmb END ?>
  475. </table>
  476. <div> <!-- TODO: Move to elements.html -CT -->
  477. <label for="loc_type"><?lsmb text('Type:') ?></label>
  478. <select id='loc_type' name="location_class">
  479. <?lsmb FOREACH lc = location_class_list ?>
  480. <option value="<?lsmb lc.id ?>"><?lsmb lc.class ?></option>
  481. <?lsmb END ?>
  482. </select>
  483. </div>
  484. <div>
  485. <?lsmb PROCESS input element_data = {
  486. label = text('Address:'),
  487. name = "line_one",
  488. value = line_one,
  489. type = "text",
  490. size = "20"
  491. } ?>
  492. </div>
  493. <div>
  494. <?lsmb PROCESS input element_data = {
  495. name = "line_two",
  496. value = line_two,
  497. type = "text",
  498. size = "20"
  499. } ?>
  500. </div>
  501. <div>
  502. <?lsmb PROCESS input element_data = {
  503. name = "line_three",
  504. value = line_three,
  505. type = "text",
  506. size = "20"
  507. } ?>
  508. </div>
  509. <div>
  510. <?lsmb PROCESS input element_data = {
  511. label = text('City:'),
  512. name = "city",
  513. value = city,
  514. type = "text",
  515. size = "20"
  516. } ?>
  517. </div>
  518. <div>
  519. <?lsmb PROCESS input element_data = {
  520. label = text('State/Province:'),
  521. name = "state",
  522. value = state,
  523. type = "text",
  524. size = "20"
  525. } ?>
  526. </div>
  527. <div>
  528. <?lsmb PROCESS input element_data = {
  529. label = text('Zip/Post Code:'),
  530. name = "mail_code",
  531. value = mail_code,
  532. type = "text",
  533. size = "20"
  534. } #' ?>
  535. </div>
  536. <div> <!-- TODO: Move to elements.html -CT -->
  537. <?lsmb INCLUDE select element_data = {
  538. text_attr = "name"
  539. value_attr = "id"
  540. default_values = [country]
  541. options = country_list
  542. name = "country_code"
  543. label = text('Country:')
  544. } ?>
  545. </div>
  546. <div><?lsmb PROCESS button element_data = {
  547. class = "submit"
  548. name = "action"
  549. value = "add_location"
  550. id = "loc_save_location"
  551. text = text('Save Location')
  552. } #' ?>
  553. </div>
  554. </form>
  555. </div>
  556. <div class="container" id="contact_div">
  557. <div class="listtop"><?lsmb text('Contact Information') ?></div>
  558. <table width="100%">
  559. <tr class="listheading">
  560. <th class="contact_class"><?lsmb text('Type:') ?></th>
  561. <th class="contact"><?lsmb text('Contact Info:') ?></th>
  562. <th class="contact_actions"><?lsmb text('Actions:') ?></th>
  563. </tr>
  564. <?lsmb FOREACH ct = contacts ?>
  565. <tr>
  566. <td class="contact_class"><?lsmb ct.class ?></td>
  567. <td class="contact"><?lsmb ct.contact ?></td>
  568. <td class="contact_actions">
  569. <a href="<?lsmb script ?>?entity_id=<?lsmb entity_id
  570. ?>&contact_id=<?lsmb ct.id
  571. ?>&action=edit_contact"
  572. >[<?lsmb text('Edit'); ?>]</a>&nbsp;&nbsp;
  573. <a href="<?lsmb script ?>?entity_id=<?lsmb entity_id
  574. ?>&contact_id=<?lsmb ct.id
  575. ?>&action=delete_contact"
  576. >[<?lsmb text('Delete'); ?>]</a>
  577. </td>
  578. </tr>
  579. <?lsmb END ?>
  580. </table>
  581. <form action="<?lsmb script ?>">
  582. <?lsmb PROCESS input element_data = {
  583. type="hidden"
  584. name="entity_id"
  585. value=entity_id
  586. } ?>
  587. <?lsmb PROCESS input element_data = {
  588. type="hidden"
  589. name="contact_id"
  590. value=contact_id
  591. } ?>
  592. <div><label for="contact_type"><?lsmb text('Type:') ?></label>
  593. <select name="contact_class" id="contact_type">
  594. <?lsmb FOREACH cc = contact_class_list ?>
  595. <option value="<?lsmb cc.id ?>"><?lsmb cc.class ?></option>
  596. <?lsmb END ?>
  597. </select>
  598. <!-- TODO: Move the above select list to elements.html -CT -->
  599. </div>
  600. <div>
  601. <?lsmb PROCESS input element_data = {
  602. label = text('Description:'),
  603. name = "description"
  604. value = description
  605. type = "text"
  606. size = "20"
  607. } #' ?>
  608. </div>
  609. <div>
  610. <?lsmb PROCESS input element_data = {
  611. label = text('Contact Info:'),
  612. name = "contact"
  613. value = contact
  614. type = "text"
  615. size = "20"
  616. } #' ?>
  617. </div>
  618. <div><?lsmb PROCESS button element_data = {
  619. name = "action",
  620. value = "save_contact",
  621. text = text('Save Contact'),
  622. class = "submit"
  623. } #' ?>
  624. </div>
  625. </form>
  626. </div>
  627. <div class="container" id="bank_div">
  628. <div class="listtop"><?lsmb text('Bank Accounts') ?></div>
  629. <table width="100%">
  630. <tr class="listheading">
  631. <th class="bic"><?lsmb text('BIC/SWIFT Code') ?></th>
  632. <th class="iban"><?lsmb text('Account Number') ?></th>
  633. <th class="actions"><?lsmb text('Actions') ?></th>
  634. </tr>
  635. <?lsmb FOREACH ba = bank_account ?>
  636. <tr>
  637. <td class="bic"><?lsmb ba.bic ?></td>
  638. <td class="iban"><?lsmb ba.iban ?></td>
  639. <td class="actions">
  640. <a href="<?lsmb script ?>?action=edit_bank_acct&entity_id=<?lsmb
  641. entity_id ?>&bank_account_id=<?lsmb ba.id ?>"
  642. >[Edit]</a>
  643. <a href="<?lsmb script ?>?action=delete_bank_acct&entity_id=<?lsmb
  644. entity_id ?>&bank_account_id=<?lsmb ba.id ?>"
  645. >[Delete]</a>
  646. </td>
  647. </tr>
  648. <?lsmb END ?>
  649. </table>
  650. <form name="bank_acct" action="<?lsmb script ?>">
  651. <?lsmb PROCESS input element_data = {
  652. type="hidden"
  653. name="entity_id"
  654. value=entity_id
  655. } ?>
  656. <?lsmb PROCESS input element_data = {
  657. type="hidden"
  658. name="bank_account_id"
  659. value=bank_account_id
  660. } ?>
  661. <div><label for="bic">
  662. <?lsmb INCLUDE input element_data = {
  663. type="text"
  664. label = text('BIC/SWIFT Code:')
  665. name="bic"
  666. value=bic
  667. size=20
  668. } #' ?>
  669. </div>
  670. <div><label for="iban">
  671. <?lsmb PROCESS input element_data = {
  672. type="text"
  673. label = text('Bank Account:')
  674. name="iban"
  675. value=iban
  676. size=20
  677. } #' ?>
  678. </div>
  679. <div><?lsmb PROCESS button element_data = {
  680. name="action"
  681. value="save_bank_account"
  682. class="submit"
  683. text = text('Save')
  684. } ?>
  685. </div>
  686. </form>
  687. </div>
  688. <div id="notes_div">
  689. <div class="listtop"><?lsmb text('Notes') ?></div>
  690. <?lsmb FOREACH n = notes ?>
  691. <div class="note">
  692. <div class="timestamp"><?lsmb text('Entered at: [_1]', n.created) ?></div>
  693. <div class="contents"><?lsmb n.note ?></div>
  694. <?lsmb END ?>
  695. <form action="<?lsmb script ?>" method="post">
  696. <?lsmb PROCESS input element_data = {
  697. type="hidden"
  698. name="entity_id"
  699. value=entity_id
  700. } ?>
  701. <div class="input"><?lsmb PROCESS textarea element_data = {
  702. label = text('Notes:<br />')
  703. name = 'note'
  704. } ?></div>
  705. <div class="input">
  706. <?lsmb PROCESS button element_data = {
  707. text = text('Save')
  708. class = 'submit'
  709. name = 'action'
  710. value = 'save_notes'
  711. } ?>
  712. </form>
  713. </div>
  714. <?lsmb END ?>
  715. </body>
  716. </html>