Upstream sync
This commit is contained in:
@@ -504,6 +504,8 @@ class VerticalNonLinear extends React.Component {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
let date = new Date();
|
||||||
|
|
||||||
let visitTime = new Date(Math.round((date.getTime() + (1 * 60 * 60 * 1000)) / roundingTime) * roundingTime);
|
let visitTime = new Date(Math.round((date.getTime() + (1 * 60 * 60 * 1000)) / roundingTime) * roundingTime);
|
||||||
let visitDate = date;
|
let visitDate = date;
|
||||||
let pickupTime = new Date(Math.round((visitTime.getTime() - (0.5 * 60 * 60 * 1000)) / roundingTime) * roundingTime);
|
let pickupTime = new Date(Math.round((visitTime.getTime() - (0.5 * 60 * 60 * 1000)) / roundingTime) * roundingTime);
|
||||||
@@ -820,7 +822,7 @@ class VerticalNonLinear extends React.Component {
|
|||||||
|
|
||||||
handlePickupChanged = (res, state) => {
|
handlePickupChanged = (res, state) => {
|
||||||
let origin = {
|
let origin = {
|
||||||
id: res.id,
|
id: res.address_uuid ? res.address_uuid : res.id,
|
||||||
name: res.name,
|
name: res.name,
|
||||||
lat: res.lat,
|
lat: res.lat,
|
||||||
lng: res.lng,
|
lng: res.lng,
|
||||||
|
|||||||
@@ -40,9 +40,11 @@ const getDTList = function (member) {
|
|||||||
member.forEach((r, i) => {
|
member.forEach((r, i) => {
|
||||||
list.push(
|
list.push(
|
||||||
<tr key={r.useruuid}>
|
<tr key={r.useruuid}>
|
||||||
<td><a href={"/#/app/member/" + r.useruuid}>{r.name}</a></td>
|
<td></td>
|
||||||
|
<td><a>{r.name}</a></td>
|
||||||
<td>
|
<td>
|
||||||
<div>
|
<div>
|
||||||
|
<a href={"/#/app/member/" + r.useruuid}> Details </a> |
|
||||||
<ContactList data={{
|
<ContactList data={{
|
||||||
driverMobile: r.mobile,
|
driverMobile: r.mobile,
|
||||||
memberMobile: r.mobile,
|
memberMobile: r.mobile,
|
||||||
@@ -280,6 +282,7 @@ class DatatableComponent extends React.Component {
|
|||||||
<Table ref={(c) => this.example = c} className='display' cellSpacing='0' width='100%'>
|
<Table ref={(c) => this.example = c} className='display' cellSpacing='0' width='100%'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th> </th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
<th>Subscriber ID</th>
|
<th>Subscriber ID</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user