2013-10-19 13:34:32 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>JSDoc: Class: CustomersHelper</title>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<script src="scripts/prettify/prettify.js"> </script>
|
|
|
|
<script src="scripts/prettify/lang-css.js"> </script>
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="main">
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<h1 class="page-title">Class: CustomersHelper</h1>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<section>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<header>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
<h2>
|
|
|
|
CustomersHelper
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
|
|
|
|
</header>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<article>
|
|
|
|
<div class="container-overview">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
<h2>Constructor</h2>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="CustomersHelper"><span class="type-signature"></span>new CustomersHelper<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
This class contains the methods that are used in the backend customers page.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line47">line 47</a>
|
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<h3 class="subsection-title">Methods</h3>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="bindEventHandlers"><span class="type-signature"></span>bindEventHandlers<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Binds the default event handlers of the backend customers page.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line59">line 59</a>
|
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="delete"><span class="type-signature"></span>delete<span class="signature">(id)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Delete a customer record from database.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>id</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">numeric</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Record id to be deleted.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line240">line 240</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="display"><span class="type-signature"></span>display<span class="signature">(customer)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Display a customer record into the form.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>customer</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Contains the customer record data.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line319">line 319</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="displayAppointment"><span class="type-signature"></span>displayAppointment<span class="signature">(appointment)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Display appointment details on customers backend page.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>appointment</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Appointment data</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line450">line 450</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="filter"><span class="type-signature"></span>filter<span class="signature">(key, selectId, display)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Filter customer records.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>key</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">string</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">This key string is used to filter the customer records.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>selectId</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">numeric</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">(OPTIONAL = undefined) If set then after the filter
|
|
|
|
operation the record with the given id will be selected (but not displayed).</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>display</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">bool</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">(OPTIONAL = false) If true then the selected record will
|
|
|
|
be displayed on the form.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line357">line 357</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="getFilterHtml"><span class="type-signature"></span>getFilterHtml<span class="signature">(customer)</span><span class="type-signature"> → {string}</span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Get the filter results row html code.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>customer</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Contains the customer data.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line397">line 397</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Returns:</h5>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<div class="param-desc">
|
|
|
|
Returns the record html code.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl>
|
2015-01-22 00:17:16 +02:00
|
|
|
<dt>
|
|
|
|
Type
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<span class="param-type">string</span>
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</dd>
|
2013-10-19 13:34:32 +03:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="resetForm"><span class="type-signature"></span>resetForm<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Bring the customer form back to its initial state.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line296">line 296</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="save"><span class="type-signature"></span>save<span class="signature">(customer)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Save a customer record to the database (via ajax post).
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>customer</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Contains the customer data.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line217">line 217</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="select"><span class="type-signature"></span>select<span class="signature">(id, display)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Select a specific record from the current filter results. If the customer id does not exist
|
2013-10-19 13:34:32 +03:00
|
|
|
in the list then no record will be selected.
|
2015-01-22 00:17:16 +02:00
|
|
|
</div>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>id</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">numeric</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">The record id to be selected from the filter results.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>display</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">bool</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">(OPTIONAL = false) If true then the method will display the record
|
|
|
|
on the form.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line422">line 422</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
<h4 class="name" id="validate"><span class="type-signature"></span>validate<span class="signature">(customer)</span><span class="type-signature"></span></h4>
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
Validate customer data before save (insert or update).
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
2015-01-22 00:17:16 +02:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>customer</code></td>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<td class="description last">Contains the customer data.</td>
|
|
|
|
</tr>
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2015-01-22 00:17:16 +02:00
|
|
|
<a href="backend_customers.js.html">backend_customers.js</a>, <a href="backend_customers.js.html#line262">line 262</a>
|
2013-10-19 13:34:32 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
</article>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
</section>
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav>
|
2015-01-22 00:17:16 +02:00
|
|
|
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AdminsHelper.html">AdminsHelper</a></li><li><a href="CategoriesHelper.html">CategoriesHelper</a></li><li><a href="CustomersHelper.html">CustomersHelper</a></li><li><a href="ProvidersHelper.html">ProvidersHelper</a></li><li><a href="SecretariesHelper.html">SecretariesHelper</a></li><li><a href="ServicesHelper.html">ServicesHelper</a></li><li><a href="SystemSettings.html">SystemSettings</a></li><li><a href="UserSettings.html">UserSettings</a></li><li><a href="WorkingPlan.html">WorkingPlan</a></li></ul><h3>Namespaces</h3><ul><li><a href="Backend.html">Backend</a></li><li><a href="BackendCalendar.html">BackendCalendar</a></li><li><a href="BackendCustomers.html">BackendCustomers</a></li><li><a href="BackendServices.html">BackendServices</a></li><li><a href="BackendSettings.html">BackendSettings</a></li><li><a href="BackendUsers.html">BackendUsers</a></li><li><a href="FrontendBook.html">FrontendBook</a></li><li><a href="GeneralFunctions.html">GeneralFunctions</a></li></ul><h3>Global</h3><ul><li><a href="global.html#enableCancel">enableCancel</a></li><li><a href="global.html#enableSubmit">enableSubmit</a></li></ul>
|
2013-10-19 13:34:32 +03:00
|
|
|
</nav>
|
|
|
|
|
2015-01-22 00:17:16 +02:00
|
|
|
<br class="clear">
|
2013-10-19 13:34:32 +03:00
|
|
|
|
|
|
|
<footer>
|
2015-01-22 00:17:16 +02:00
|
|
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha13</a> on Wed Jan 21 2015 23:15:07 GMT+0100 (CET)
|
2013-10-19 13:34:32 +03:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
<script> prettyPrint(); </script>
|
|
|
|
<script src="scripts/linenumber.js"> </script>
|
|
|
|
</body>
|
|
|
|
</html>
|