this["Templates"] = this["Templates"] || {};
this["Templates"]["contracts_selector"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.name : stack1), depth0))
+ " \n
\n";
},"2":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ " \n";
},"3":function(container,depth0,helpers,partials,data) {
return "class=\"active\"";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers.unless.call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(helpers.length || (depth0 && depth0.length) || alias2).call(alias1,(depth0 != null ? depth0.contracts : depth0),{"name":"length","hash":{},"data":data}),1,{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["header_logo"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return "
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers.unless.call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(helpers.length || (depth0 && depth0.length) || alias2).call(alias1,(depth0 != null ? depth0.settings : depth0),{"name":"length","hash":{},"data":data}),0,{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_activity"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Activities \n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0))
+ " \n \n\n \n
Log time
\n
"
+ alias2((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.timestamp : stack1),{"name":"long_datetime","hash":{},"data":data}))
+ "
\n
\n\n \n
Event
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.event : stack1), depth0))
+ "
\n
\n\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),null,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
Metadata
\n
"
+ alias2((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || alias4).call(alias3,(depth0 != null ? depth0.item : depth0),{"name":"obj_to_string","hash":{},"data":data}))
+ " \n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n
User
\n
\n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),"customer",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n
\n
\n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ " \n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.usertype : depth0),"driver",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ " \n ";
},"8":function(container,depth0,helpers,partials,data) {
return " \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n customerid \n CustomerId is equal to value \n \n \n driverid \n DriverId is equal to value \n \n \n event \n Event is equal to value \n \n \n level \n Event level equals value (info, warning or error) \n \n \n str1 to str3 \n Event details string 1/2/3 contains value \n \n \n int1 or int2 \n Event details int 1/2 is equal to value \n \n \n float1 or float2 \n Event details float 1/2 is equal to value \n \n \n source \n Event source equals value \n \n \n sourcetype \n Event source type equals value \n \n \n sourceversion \n Event source version equals value \n \n \n before \n Log time is before value \n \n \n after \n Log time is after value \n \n \n
\n Example: \"errorcode:3 customer:32\" will show the last 50 errors with errorcode 3 for customer 32.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_activity_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Log \n Event \n User \n Source \n Level \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.timestamp : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.event || (depth0 != null ? depth0.event : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"event","hash":{},"data":data}) : helper)))
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.usertype : depth0),"customer",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.source || (depth0 != null ? depth0.source : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"source","hash":{},"data":data}) : helper)))
+ " "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.sourceType : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n "
+ alias4(((helper = (helper = helpers.level || (depth0 != null ? depth0.level : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"level","hash":{},"data":data}) : helper)))
+ "\n \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"username","hash":{},"data":data}) : helper)))
+ " \n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.usertype : depth0),"driver",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"username","hash":{},"data":data}) : helper)))
+ " \n ";
},"8":function(container,depth0,helpers,partials,data) {
var helper;
return "("
+ container.escapeExpression(((helper = (helper = helpers.sourceType || (depth0 != null ? depth0.sourceType : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"sourceType","hash":{},"data":data}) : helper)))
+ ")";
},"10":function(container,depth0,helpers,partials,data) {
return " No activity that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(10, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_company"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.lambda, alias3=container.escapeExpression;
return " \n Companies \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.company : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n\n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.company : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.company : depth0)) != null ? stack1.StatutoryName : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n";
},"8":function(container,depth0,helpers,partials,data) {
return "Add";
},"10":function(container,depth0,helpers,partials,data) {
return "Save";
},"12":function(container,depth0,helpers,partials,data) {
var stack1;
return "Remove ";
},"14":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n Related drivers \n \n
\n \n Name \n Email \n Phone \n Active \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.drivers : depth0),{"name":"each","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"15":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.CFIRSTNAME || (depth0 != null ? depth0.CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.CLASTNAME || (depth0 != null ? depth0.CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CEMAIL || (depth0 != null ? depth0.CEMAIL : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CEMAIL","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CTEL || (depth0 != null ? depth0.CTEL : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CTEL","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.shiftState : depth0),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.program(18, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n";
},"16":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return alias4(((helper = (helper = helpers.shiftState || (depth0 != null ? depth0.shiftState : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shiftState","hash":{},"data":data}) : helper)))
+ " latest ping: "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DLASTGPS : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " Log out ";
},"18":function(container,depth0,helpers,partials,data) {
return "Inactive";
},"20":function(container,depth0,helpers,partials,data) {
return " \n\n Add company \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Name, email or CompanyId contains value \n \n \n id \n CompanyId is equal to value \n \n \n name \n Name contains value \n \n \n address \n Address contains value \n \n \n email \n Email address contains value \n \n \n vat \n VAT number contains value \n \n \n regnr \n Company registration number contains value \n \n \n iban \n IBAN contains value \n \n \n regbefore \n Registration date is before value \n \n \n regafter \n Registration date is after value \n \n \n
\n Example: \"john iban:638\" will show the last 50 records with john in name, email or CompanyId and IBAN containing 638\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.company : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(20, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_company_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Name \n # drivers \n Created on \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.companies : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.CCOMPANYNAME || (depth0 != null ? depth0.CCOMPANYNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CCOMPANYNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.DRIVER_COUNT || (depth0 != null ? depth0.DRIVER_COUNT : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"DRIVER_COUNT","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DCREATE : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n \n";
},"4":function(container,depth0,helpers,partials,data) {
return " No company that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.companies : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_container"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n";
},"4":function(container,depth0,helpers,partials,data) {
return "";
},"6":function(container,depth0,helpers,partials,data) {
return " \n \n \n \n \n \n \n \n \n";
},"8":function(container,depth0,helpers,partials,data) {
return " \n";
},"10":function(container,depth0,helpers,partials,data) {
return " \n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return "\n
\n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),8192,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),65536,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),524288,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
\n\n\n
\n\n\n
\n
\n \n
\n
\n\n
\n \n \n Status \n Description \n Possible next states \n \n \n \n tripReceived Trip has been received by the backend and will be processed shortly. tripDeclined, tripAccepted, customerCancelled \n tripReceived Trip has been received by the backend and will be processed shortly. tripDeclined, tripAccepted, customerCancelled \n tripAccepted Trip fits within the available capacity and is guaranteed to be executed. paymentAuthorized, customerCancelled \n paymentAuthorized Payment is authorized. For some payment methods (cards and paypal) this implies that the payment is guaranteed. For some payment methods (eg. cash, POS and SEPA) this doesn't awaitingDriverConsent, creditcardFailed, customerCancelled \n awaitingDriverConsent The trip has been sent to the driver for acceptance driverAccepted, rejectedByDriver, rejectedByPlanner, customerCancelled \n driverAccepted The trip has been accepted by the driver. He is en route to the pickup location. Pickup location is not necessarily the first stop on his route: there could be stops for other trips first. There will not be any additional stops added to the route before pickup customerPickedUp, driverCancelledBecauseOfDriverWithReplan, driverCancelledBecauseOfClient, customerCancelled \n customerPickedUp The customer is in the vehicle customerArrived, driverCancelledBecauseOfDriver \n customerArrived The customer has reached his destination refunded \n rejectedByDriver (communicated in API as paymentAuthorized) The driver has rejected the assignment. The planner will replan this trip soon paymentAuthorized \n rejectedByPlanner (communicated in API as paymentAuthorized) The driver has not responded to the assignment in time. The planner will replan this trip soon paymentAuthorized \n tripDeclined The trip cannot be planned within the available capacity none \n creditcardFailed The reservation on the payment method failed none \n driverCancelledBecauseOfDriverWithReplan (communicated in API as paymentAuthorized) The driver cannot fulfill the trip he previously accepted while he has not yet picked up the customer. This should only occur in case of an accident or another grave reason. The trip will be replanned paymentAuthorized \n driverCancelledBecauseOfDriver The driver cannot fulfill the trip he previously accepted while the customer is already in the vehicle. This should only occur in case of an accident or another grave reason. none \n driverCancelledBecauseOfClient No show of the customer. Customer might pay a cancelation fee refunded \n customerCancelled Customer has canceled his trip. He might pay a cancelation fee refunded \n refunded The invoice has been withdrawn none \n \n
\n
\n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["lookup_customer"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.lambda, alias3=container.escapeExpression;
return " \n Customers \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.program(4, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n\n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(45, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n";
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.CFIRSTNAME : stack1), depth0))
+ " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.CLASTNAME : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n \n";
},"7":function(container,depth0,helpers,partials,data) {
return "checked";
},"9":function(container,depth0,helpers,partials,data) {
return " (will automatically be validated)";
},"11":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n "
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.email_valid : stack1),{"name":"unless","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n";
},"12":function(container,depth0,helpers,partials,data) {
return "glyphicon-ok text-success";
},"14":function(container,depth0,helpers,partials,data) {
return "glyphicon-remove text-danger";
},"16":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "resend email / validate ";
},"18":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"19":function(container,depth0,helpers,partials,data) {
return "Password required";
},"21":function(container,depth0,helpers,partials,data) {
return "Only fill if you want to change it";
},"23":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n";
},"24":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ " \n";
},"25":function(container,depth0,helpers,partials,data) {
return "selected";
},"27":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),8192,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(28, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n \n \n \n \n \n";
},"28":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"29":function(container,depth0,helpers,partials,data) {
return "Yes";
},"31":function(container,depth0,helpers,partials,data) {
return "No";
},"33":function(container,depth0,helpers,partials,data) {
var stack1;
return "(search )";
},"35":function(container,depth0,helpers,partials,data) {
return " ";
},"37":function(container,depth0,helpers,partials,data) {
var helper;
return " • "
+ container.escapeExpression(((helper = (helper = helpers.explanation || (depth0 != null ? depth0.explanation : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"explanation","hash":{},"data":data}) : helper)))
+ " \n";
},"39":function(container,depth0,helpers,partials,data) {
return "Add";
},"41":function(container,depth0,helpers,partials,data) {
return "Save";
},"43":function(container,depth0,helpers,partials,data) {
var stack1;
return "Book new trip ";
},"45":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " \n \n \n";
},"46":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper)))
+ "\n remove \n \n";
},"48":function(container,depth0,helpers,partials,data) {
return " \n\n Add new customer \n \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Name, email or CustomerId contains value \n \n \n id \n CustomerId is equal to value \n \n \n hash \n Hash of CustomerId is equal to value \n \n \n first \n First name contains value \n \n \n last \n Last name contains value \n \n \n email \n Email address contains value \n \n \n tel \n Telephone number contains value \n \n \n promo \n Promocode is equal to value \n \n \n before \n Registration date is before value \n \n \n after \n Registration date is after value \n \n \n
\n Example: \"john tel:638\" will show the last 50 records with john in name, email or CustomerId and telephone number containing 638\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.customer : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(48, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_customer_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Name \n Email \n Phone \n Registration \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.customers : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.CFIRSTNAME || (depth0 != null ? depth0.CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.CLASTNAME || (depth0 != null ? depth0.CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CEMAIL || (depth0 != null ? depth0.CEMAIL : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CEMAIL","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CTEL || (depth0 != null ? depth0.CTEL : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CTEL","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DCREATE : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n \n";
},"4":function(container,depth0,helpers,partials,data) {
return " No customer that satisfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.customers : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_debuglog"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Debug log \n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0))
+ " \n \n\n \n
Log time
\n
"
+ alias2((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.createdAt : stack1),{"name":"long_datetime","hash":{},"data":data}))
+ "
\n
\n \n \n
Side
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.side : stack1), depth0))
+ "
\n
\n \n \n
Service
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.service : stack1), depth0))
+ " ("
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.requestMethod : stack1), depth0))
+ ")
\n
\n\n \n
API version
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.apiVersion : stack1), depth0))
+ "
\n
\n \n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),null,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n
Parameters valid
\n
\n \n
\n
\n \n \n
Parameters
\n
"
+ alias2((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.parameters : stack1),{"name":"obj_to_string","hash":{},"data":data}))
+ " \n
\n\n"
+ ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.parametersValidationResult : stack1),{"name":"unless","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n
Response valid
\n
\n \n
\n
\n\n \n
Response
\n
"
+ alias2((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.response : stack1),{"name":"obj_to_string","hash":{},"data":data}))
+ " \n
\n\n"
+ ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.responseValidationResult : stack1),{"name":"unless","hash":{},"fn":container.program(20, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n
User
\n
\n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),"customer",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n
\n
\n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " Customer "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ " \n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),"driver",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " Driver "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ " \n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.usertype : stack1),"admin",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"9":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),256,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.program(12, data, 0),"data":data})) != null ? stack1 : "")
+ " ";
},"10":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " Admin user "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ " \n";
},"12":function(container,depth0,helpers,partials,data) {
var stack1;
return " Admin user "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.username : stack1), depth0))
+ "\n";
},"14":function(container,depth0,helpers,partials,data) {
return "glyphicon-ok text-success";
},"16":function(container,depth0,helpers,partials,data) {
return "glyphicon-remove text-danger";
},"18":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
Parameter errors
\n
"
+ container.escapeExpression((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.parametersValidationErrors : stack1),{"name":"obj_to_string","hash":{},"data":data}))
+ " \n
\n";
},"20":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
Response errors
\n
"
+ container.escapeExpression((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.responseValidationErrors : stack1),{"name":"obj_to_string","hash":{},"data":data}))
+ " \n
\n";
},"22":function(container,depth0,helpers,partials,data) {
return " \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n customerid \n CustomerId is equal to value \n \n \n driverid \n DriverId is equal to value \n \n \n adminid \n AdminId is equal to value \n \n \n side \n 'front' or 'back' \n \n \n service \n Service contains value \n \n \n apiversion \n Api-Version header is equal to value \n \n \n parameters \n 'valid' or 'invalid' \n \n \n response \n 'valid' or 'invalid' \n \n \n before \n Log time is before value \n \n \n after \n Log time is after value \n \n \n
\n Example: \"adminid:2 response:invalid\" will show the last 50 logs for admin user 2 that had an invalid response.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(22, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_debuglog_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Time \n Side \n Service \n User \n Parameters \n Response \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.createdAt : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.side || (depth0 != null ? depth0.side : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"side","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.service || (depth0 != null ? depth0.service : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"service","hash":{},"data":data}) : helper)))
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.usertype : depth0),"customer",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n \n \n \n \n \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " customer "
+ alias4(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"username","hash":{},"data":data}) : helper)))
+ " \n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.usertype : depth0),"driver",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " driver "
+ alias4(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"username","hash":{},"data":data}) : helper)))
+ " \n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.usertype : depth0),"admin",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"9":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),256,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.program(12, data, 0),"data":data})) != null ? stack1 : "")
+ " ";
},"10":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " Admin user "
+ alias4(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"username","hash":{},"data":data}) : helper)))
+ " \n";
},"12":function(container,depth0,helpers,partials,data) {
var helper;
return " Admin user "
+ container.escapeExpression(((helper = (helper = helpers.username || (depth0 != null ? depth0.username : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"username","hash":{},"data":data}) : helper)))
+ "\n";
},"14":function(container,depth0,helpers,partials,data) {
return "glyphicon-ok text-success";
},"16":function(container,depth0,helpers,partials,data) {
return "glyphicon-remove text-danger";
},"18":function(container,depth0,helpers,partials,data) {
return " No log that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(18, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_discount"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n\nAdd discount(s) \n\n
\n\n\n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Description contains value \n \n \n id \n DiscountId is equal to value \n \n \n type \n 'marketing' or 'personal' \n \n \n customer \n Name of customer contains value or CustomerId is equal to value \n \n \n customerid \n CustomerId is equal to value \n \n \n relation \n Name of the person from who the customer got his promocode contains value (only works for personal promocodes) \n \n \n relationid \n CustomerId of the person from who the customer got his promocode is equal to value (only works for personal promocodes) \n \n \n status \n 'usable', 'used', 'expired', 'notyetusable' or 'open' ('usable' OR 'notyetusable') \n \n \n tripid \n TripId is equal to value \n \n \n before \n Created is before value \n \n \n after \n Created is after value \n \n \n
\n Example: \"customer:john status:open\" will show the last 50 discounts of john that are open.\n
\n \n
\n
\n
\n\n\n";
},"useData":true});
this["Templates"]["lookup_discount_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Customer \n Created \n Valid until \n Type \n Value \n Description \n Status \n Action \n\n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.discounts : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.CFIRSTNAME || (depth0 != null ? depth0.CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.CLASTNAME || (depth0 != null ? depth0.CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DCREATEDATE : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DVALIDTO : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.CDISCOUNTTYPE || (depth0 != null ? depth0.CDISCOUNTTYPE : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CDISCOUNTTYPE","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.FMAXDISCOUNTVALUE : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.CDISCOUNTTYPE : depth0),"Marketing",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.Status || (depth0 != null ? depth0.Status : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"Status","hash":{},"data":data}) : helper)))
+ " "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.Status : depth0),"used",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers.unless.call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.Status : depth0),"used",{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.CDESCRIPTION : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "")
+ " \n";
},"4":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.CDESCRIPTION || (depth0 != null ? depth0.CDESCRIPTION : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"CDESCRIPTION","hash":{},"data":data}) : helper)));
},"6":function(container,depth0,helpers,partials,data) {
var helper;
return "Marketing promocode "
+ container.escapeExpression(((helper = (helper = helpers.NEXTERNID || (depth0 != null ? depth0.NEXTERNID : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"NEXTERNID","hash":{},"data":data}) : helper)));
},"8":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " Received from "
+ alias4(((helper = (helper = helpers.rel_CFIRSTNAME || (depth0 != null ? depth0.rel_CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"rel_CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.rel_CLASTNAME || (depth0 != null ? depth0.rel_CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"rel_CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n";
},"10":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " in "
+ alias4(((helper = (helper = helpers.NTRIPID || (depth0 != null ? depth0.NTRIPID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NTRIPID","hash":{},"data":data}) : helper)))
+ " ";
},"12":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return "remove ";
},"14":function(container,depth0,helpers,partials,data) {
return " No discount that satisfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.discounts : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(14, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_driver"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.lambda, alias3=container.escapeExpression, alias4=helpers.helperMissing;
return " \n Drivers \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.program(4, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n \n \n \n \n \n \n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(18, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n \n\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.recentShifts : depth0),{"name":"if","hash":{},"fn":container.program(24, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return alias2(alias1(((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1.FirstName : stack1), depth0))
+ " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1.LastName : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n \n";
},"7":function(container,depth0,helpers,partials,data) {
return "checked";
},"9":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.CCOMPANYNAME || (depth0 != null ? depth0.CCOMPANYNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CCOMPANYNAME","hash":{},"data":data}) : helper)))
+ " \n";
},"10":function(container,depth0,helpers,partials,data) {
return "selected";
},"12":function(container,depth0,helpers,partials,data) {
return "Password required";
},"14":function(container,depth0,helpers,partials,data) {
return "Only fill if you want to change it";
},"16":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n";
},"18":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n \n \n";
},"20":function(container,depth0,helpers,partials,data) {
return "Add";
},"22":function(container,depth0,helpers,partials,data) {
return "Save";
},"24":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " \n 25 most recent shifts \n \n
\n \n \n Shift ID \n State \n Start \n End \n Planned start \n Planned end \n\n Vehicle \n \n \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.recentShifts : depth0),{"name":"each","hash":{},"fn":container.program(25, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
\n
\n";
},"25":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.NSHIFTID || (depth0 != null ? depth0.NSHIFTID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NSHIFTID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.shiftState || (depth0 != null ? depth0.shiftState : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shiftState","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DBCTLOGONTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || alias2).call(alias1,(depth0 != null ? depth0.DBCTLOGOFFTIME : depth0),false,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(26, data, 0, blockParams, depths),"inverse":container.program(28, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DROSTERSTARTTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DROSTERENDTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n\n "
+ alias4(((helper = (helper = helpers.CLICENCEPLATE || (depth0 != null ? depth0.CLICENCEPLATE : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLICENCEPLATE","hash":{},"data":data}) : helper)))
+ " \n \n";
},"26":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression((helpers.short_datetime || (depth0 && depth0.short_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.DBCTLOGOFFTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ "\n";
},"28":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.DBCTLOGONTIME : depth0),false,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(29, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"29":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " Log out \n ";
},"31":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Driver \n \n \n ? \n \n
\n \n
\n\n Add driver \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Name or email contains value \n \n \n id \n DriverId is equal to value \n \n \n first \n First name contains value \n \n \n last \n Last name contains value \n \n \n email \n Email address contains value \n \n \n tel \n Telephone number contains value \n \n \n regbefore \n Registration date is before value \n \n \n regafter \n Registration date is after value \n \n \n
\n Example: \"john tel:638\" will show the last 50 records with john in name, email or DriverId and telephone number containing 638\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.driver : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(31, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_driver_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Name \n Email \n Phone \n Shift status \n Shift details \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.drivers : depth0)) != null ? stack1.Drivers : stack1),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.FirstName || (depth0 != null ? depth0.FirstName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"FirstName","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.LastName || (depth0 != null ? depth0.LastName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"LastName","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.Email || (depth0 != null ? depth0.Email : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"Email","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.Tel || (depth0 != null ? depth0.Tel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"Tel","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.shiftState : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.shiftState : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.shiftState || (depth0 != null ? depth0.shiftState : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"shiftState","hash":{},"data":data}) : helper)));
},"5":function(container,depth0,helpers,partials,data) {
return "Inactive";
},"7":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return "\n Planned end: "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DrosterendTime : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n Latest ping: "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.LastGPS : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n Log out \n ";
},"9":function(container,depth0,helpers,partials,data) {
return " No driver that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.drivers : depth0)) != null ? stack1.Drivers : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_paymentmethod"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n
\n \n Payment method \n \n \n ? \n \n
\n \n
\n\n
\n\n\n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n id \n Payment method id is equal to value \n \n \n hashid \n Payment method hashid is equal to value \n \n \n identifier \n Account identifier (eg. last 4 digits) is equal to value \n \n \n alias \n Account alias (unique identifier) is equal to value \n \n \n customerid \n CustomerId is equal to value \n \n \n method \n Method (adyen_creditcard, adyen_sepa_dd_ideal, braintree_paypal, mangopay_creditcard) is equal to value \n \n \n status \n Status equals value (Authorised, Failed, Refused, AwaitingAuthorisation) \n \n \n type \n Type contains value (e.g. MASTERCARD, VISA, ABNANL2A) \n \n \n active \n Card is active (1) or inactive (0) \n \n \n default \n Card is default (1) or not default (1) \n \n \n
\n Example: \"method:adyen_creditcard customer:32\" will show the last 50 credit cards on Adyen for customer 32.\n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["lookup_paymentmethod_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Id \n Time \n Customer \n Method \n Status \n Type \n Identifier \n Alias \n Active \n Default \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
+ " ("
+ alias4(((helper = (helper = helpers.hashid || (depth0 != null ? depth0.hashid : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"hashid","hash":{},"data":data}) : helper)))
+ ") \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.updated_at : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.customer_id || (depth0 != null ? depth0.customer_id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"customer_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.method || (depth0 != null ? depth0.method : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"method","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.status || (depth0 != null ? depth0.status : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"status","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"type","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.account_identifier || (depth0 != null ? depth0.account_identifier : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"account_identifier","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.account_alias || (depth0 != null ? depth0.account_alias : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"account_alias","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.active || (depth0 != null ? depth0.active : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"active","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.default_method || (depth0 != null ? depth0.default_method : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"default_method","hash":{},"data":data}) : helper)))
+ " \n \n";
},"4":function(container,depth0,helpers,partials,data) {
return " No payment method that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_promocode"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda;
return " \n Promocodes \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n \n";
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1.DiscountName : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n";
},"8":function(container,depth0,helpers,partials,data) {
return "checked";
},"10":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression((helpers.date || (depth0 && depth0.date) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = ((stack1 = ((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1.Json : stack1)) != null ? stack1.Discount : stack1)) != null ? stack1.ValidTil : stack1),{"name":"date","hash":{},"data":data}));
},"12":function(container,depth0,helpers,partials,data) {
return " ";
},"14":function(container,depth0,helpers,partials,data) {
return ", ";
},"16":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1.MaxUsage : stack1), depth0));
},"18":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"20":function(container,depth0,helpers,partials,data) {
return "Add";
},"22":function(container,depth0,helpers,partials,data) {
return "Save";
},"24":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " Remove \n Duplicate \n";
},"26":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Promocode \n \n \n ? \n \n
\n \n
\n\n\n Add promocode \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Promocode name \n \n \n id \n DiscountId is equal to value \n \n \n segment \n Segment contains value \n \n \n
\n Example: \"har source:marketing\" will show the last 50 marketing promocodes with har in the name\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.promocode : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(26, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_promocode_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Discount name \n Segment \n Description \n Valid Til \n Added \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.promocodes : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.discount_name || (depth0 != null ? depth0.discount_name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"discount_name","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.segment || (depth0 != null ? depth0.segment : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"segment","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.json : depth0)) != null ? stack1.Discount : stack1)) != null ? stack1.Description : stack1), depth0))
+ " \n "
+ alias4((helpers.short_date || (depth0 && depth0.short_date) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.json : depth0)) != null ? stack1.Discount : stack1)) != null ? stack1.ValidTil : stack1),{"name":"short_date","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.times_used || (depth0 != null ? depth0.times_used : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"times_used","hash":{},"data":data}) : helper)))
+ " \n \n";
},"4":function(container,depth0,helpers,partials,data) {
return " No promocode that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.promocodes : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_reconciliation_batch"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n \n
\n \n Batch requests \n \n \n ? \n \n
\n \n
\n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n customerid \n CustomerId is equal to value \n \n \n tripid \n TripId is equal to value \n \n \n invoice \n Invoice ID is equal to value \n \n \n batchid \n Payment request ID is equal to value \n \n \n type \n primary, first_reminder, second_reminder or collection_agency \n \n \n requestamount \n Batch amount is equal to value \n \n \n tripamount \n Amount requested for trip is equal to value \n \n \n before \n Request date is before value \n \n \n after \n Request date is after value \n \n \n
\n Example: \"batchid:b-a123\" will show the last 50 invoices that are included in payment request b-a123.\n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["lookup_reconciliation_batch_searchresults"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ alias4(((helper = (helper = helpers.NCUSTOMERID || (depth0 != null ? depth0.NCUSTOMERID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NCUSTOMERID","hash":{},"data":data}) : helper)))
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.request_id || (depth0 != null ? depth0.request_id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"request_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias4((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.request_amount : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.trip_hash_id || (depth0 != null ? depth0.trip_hash_id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"trip_hash_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"type","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.sent_at : depth0),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.program(8, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.provider || (depth0 != null ? depth0.provider : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"provider","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.type : depth0),"primary",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.payment_reference || (depth0 != null ? depth0.payment_reference : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"payment_reference","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias4((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.amount : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n";
},"2":function(container,depth0,helpers,partials,data) {
var helper;
return "";
},"4":function(container,depth0,helpers,partials,data) {
return " ";
},"6":function(container,depth0,helpers,partials,data) {
return "not sent yet";
},"8":function(container,depth0,helpers,partials,data) {
return container.escapeExpression((helpers.full_datetime || (depth0 && depth0.full_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.sent_at : depth0),{"name":"full_datetime","hash":{},"data":data}));
},"10":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(11, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(((helper = (helper = helpers.payment_method_id || (depth0 != null ? depth0.payment_method_id : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"payment_method_id","hash":{},"data":data}) : helper)))
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"11":function(container,depth0,helpers,partials,data) {
var helper;
return "";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_reconciliation_batch_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Customer ID \n Request ID \n Request amount \n Trip ID \n Type \n Booking date \n Provider \n Payment method \n PSP reference \n Trip amount \n \n
\n
\n\n"
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.pagination : depth0)) != null ? stack1.endReached : stack1),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return " \n Load more \n
\n";
},"4":function(container,depth0,helpers,partials,data) {
return " No payment request that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.gt || (depth0 && depth0.gt) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.results : depth0)) != null ? stack1.length : stack1),0,{"name":"gt","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_reconciliation_invoice"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Invoices \n "
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.NTRIPID : stack1), depth0))
+ " \n \n\n \n
Invoice ID
\n
"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.trip_hash_id : stack1), depth0))
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
Customer ID
\n
"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.NCUSTOMERID : stack1), depth0))
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
Earliest departure
\n
"
+ alias2((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias4).call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.DEPT : stack1),{"name":"full_datetime","hash":{},"data":data}))
+ "
\n
\n\n \n
Trip status
\n
"
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.tripstatus : stack1), depth0))
+ "
\n
\n\n \n
Invoiced
\n
"
+ alias2((helpers.setting || (depth0 && depth0.setting) || alias4).call(alias3,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias2((helpers.number_format || (depth0 && depth0.number_format) || alias4).call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.invoiced : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ "
\n
\n\n \n
Payment status
\n
\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.open : stack1),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.program(10, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n Payment requests \n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,(helpers.length || (depth0 && depth0.length) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.payment_requests : stack1),{"name":"length","hash":{},"data":data}),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(12, data, 0, blockParams, depths),"inverse":container.program(14, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ "\n\n \n Reconciliation \n \n \n
\n \n Booking date \n Provider \n PSP reference \n Amount \n Note \n Source \n Action \n \n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,(helpers.length || (depth0 && depth0.length) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reconciliation : stack1),{"name":"length","hash":{},"data":data}),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(23, data, 0, blockParams, depths),"inverse":container.program(25, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ "\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),16384,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(33, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,(helpers.length || (depth0 && depth0.length) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reconciliation : stack1),{"name":"length","hash":{},"data":data}),0,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(36, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1;
return " ";
},"4":function(container,depth0,helpers,partials,data) {
return " ";
},"6":function(container,depth0,helpers,partials,data) {
var stack1;
return "";
},"8":function(container,depth0,helpers,partials,data) {
return " Reconciled
\n";
},"10":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.open : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ " not reconciled
\n";
},"12":function(container,depth0,helpers,partials,data) {
return " No payment requests found.
\n";
},"14":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return " \n \n Type \n Booking date \n Request ID \n Provider \n Payment method \n PSP reference \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.payment_requests : stack1),{"name":"each","hash":{},"fn":container.program(15, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n";
},"15":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"type","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.sent_at : depth0),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(16, data, 0, blockParams, depths),"inverse":container.program(18, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.request_id || (depth0 != null ? depth0.request_id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"request_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.provider || (depth0 != null ? depth0.provider : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"provider","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.type : depth0),"primary",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(20, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.payment_reference || (depth0 != null ? depth0.payment_reference : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"payment_reference","hash":{},"data":data}) : helper)))
+ " \n \n";
},"16":function(container,depth0,helpers,partials,data) {
return "not sent yet";
},"18":function(container,depth0,helpers,partials,data) {
return container.escapeExpression((helpers.full_datetime || (depth0 && depth0.full_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.sent_at : depth0),{"name":"full_datetime","hash":{},"data":data}));
},"20":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(21, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(((helper = (helper = helpers.payment_method_id || (depth0 != null ? depth0.payment_method_id : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"payment_method_id","hash":{},"data":data}) : helper)))
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"21":function(container,depth0,helpers,partials,data) {
var helper;
return "";
},"23":function(container,depth0,helpers,partials,data) {
return " \n \n No reconciliation lines found.
\n \n \n";
},"25":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reconciliation : stack1),{"name":"each","hash":{},"fn":container.program(26, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"26":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4="function";
return " \n "
+ alias3((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.updated_at : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.provider || (depth0 != null ? depth0.provider : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"provider","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.payment_reference || (depth0 != null ? depth0.payment_reference : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"payment_reference","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.currency || (depth0 != null ? depth0.currency : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"currency","hash":{},"data":data}) : helper)))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.amount : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.note || (depth0 != null ? depth0.note : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"note","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.source : depth0),"middleware",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(27, data, 0, blockParams, depths),"inverse":container.program(29, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers.unless.call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.source : depth0),"middleware",{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(31, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"27":function(container,depth0,helpers,partials,data) {
return "Middleware";
},"29":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.admin_user_email || (depth0 != null ? depth0.admin_user_email : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"admin_user_email","hash":{},"data":data}) : helper)));
},"31":function(container,depth0,helpers,partials,data,blockParams,depths) {
var helper, alias1=container.escapeExpression;
return " remove ";
},"33":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n \n \n \n"
+ ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.available_payment_methods : stack1),{"name":"each","hash":{},"fn":container.program(34, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n \n \n \n "
+ alias3(container.lambda(((stack1 = (depth0 != null ? depth0.user : depth0)) != null ? stack1.email : stack1), depth0))
+ "
\n Add \n \n";
},"34":function(container,depth0,helpers,partials,data) {
return " "
+ container.escapeExpression(container.lambda(depth0, depth0))
+ " \n";
},"36":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n Total \n "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.reconciled : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n \n";
},"38":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Invoices \n \n \n ? \n \n
\n \n
\n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n provider \n adyen_sepa_dd_ideal, adyen_creditcard, braintree_creditcard, braintree_paypal or mangopay_creditcard \n \n \n customerid \n CustomerId is equal to value \n \n \n tripid \n TripId is equal to value \n \n \n invoice \n Invoice ID is equal to value \n \n \n invoiced \n Invoiced value \n \n \n reconciled \n Matched amount \n \n \n open \n Unmatched amount \n \n \n status \n open (not fully reconciled, positive or negative), closed (fully reconciled) or overpaid (overpaid) \n \n \n before \n Booking date is before value \n \n \n after \n Booking date is after value \n \n \n
\n Example: \"status:open\" will show the last 50 invoices that are not yet fully reconciled.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(38, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_reconciliation_invoice_searchresults"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ alias4(((helper = (helper = helpers.NCUSTOMERID || (depth0 != null ? depth0.NCUSTOMERID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NCUSTOMERID","hash":{},"data":data}) : helper)))
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depths[1] != null ? depths[1].selectedContract : depths[1])) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.NTRIPID || (depth0 != null ? depth0.NTRIPID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NTRIPID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.trip_hash_id || (depth0 != null ? depth0.trip_hash_id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"trip_hash_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.INVOICETIME : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.tripstatus || (depth0 != null ? depth0.tripstatus : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tripstatus","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias4((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.charged : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.unreconciled : depth0),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.program(8, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n \n \n";
},"2":function(container,depth0,helpers,partials,data) {
var helper;
return "";
},"4":function(container,depth0,helpers,partials,data) {
return " ";
},"6":function(container,depth0,helpers,partials,data) {
return " Reconciled
\n";
},"8":function(container,depth0,helpers,partials,data) {
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.unreconciled : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " not reconciled
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_reconciliation_invoice_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Customer ID \n Trip ID \n Invoice ID \n Earliest departure \n Trip status \n Invoiced \n Status \n \n
\n
\n\n"
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.pagination : depth0)) != null ? stack1.endReached : stack1),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return " \n Load more \n
\n";
},"4":function(container,depth0,helpers,partials,data) {
return " No invoice that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.gt || (depth0 && depth0.gt) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.results : depth0)) != null ? stack1.length : stack1),0,{"name":"gt","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_reconciliation_payment"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Payments \n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.provider : stack1), depth0))
+ " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.pspref : stack1), depth0))
+ " \n \n\n\n \n
Provider
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.provider : stack1), depth0))
+ "
\n
\n\n \n
PSP reference
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.pspref : stack1), depth0))
+ "
\n
\n\n \n
Status
\n
\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.open : stack1),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0, blockParams, depths),"inverse":container.program(4, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n Payments \n \n
\n \n Booking date \n Status \n Amount \n Client name \n Account \n Description \n \n"
+ ((stack1 = helpers.each.call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.payment : stack1),{"name":"each","hash":{},"fn":container.program(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,(helpers.length || (depth0 && depth0.length) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.payment : stack1),{"name":"length","hash":{},"data":data}),0,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(8, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n\n Reconciliation \n \n \n
\n \n Booking date \n Trip \n Amount \n Note \n Source \n Action \n \n"
+ ((stack1 = helpers.each.call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reconciliation : stack1),{"name":"each","hash":{},"fn":container.program(10, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),16384,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(17, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,(helpers.length || (depth0 && depth0.length) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reconciliation : stack1),{"name":"length","hash":{},"data":data}),0,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(19, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n\n";
},"2":function(container,depth0,helpers,partials,data) {
return " Reconciled
\n";
},"4":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.open : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ " not reconciled
\n";
},"6":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4="function";
return " \n "
+ alias3((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.booking_date : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.normalized_status || (depth0 != null ? depth0.normalized_status : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"normalized_status","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.trip_currency || (depth0 != null ? depth0.trip_currency : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"trip_currency","hash":{},"data":data}) : helper)))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.trip_amount : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.client_name || (depth0 != null ? depth0.client_name : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"client_name","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.client_account_number || (depth0 != null ? depth0.client_account_number : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"client_account_number","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"description","hash":{},"data":data}) : helper)))
+ " \n \n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n Total \n "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.paid : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n \n";
},"10":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4="function";
return " \n "
+ alias3((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.updated_at : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.trip_id || (depth0 != null ? depth0.trip_id : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"trip_id","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.currency || (depth0 != null ? depth0.currency : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"currency","hash":{},"data":data}) : helper)))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.amount : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n "
+ alias3(((helper = (helper = helpers.note || (depth0 != null ? depth0.note : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"note","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.source : depth0),"middleware",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(11, data, 0, blockParams, depths),"inverse":container.program(13, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers.unless.call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.source : depth0),"middleware",{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(15, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"11":function(container,depth0,helpers,partials,data) {
return "Middleware";
},"13":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.admin_user_email || (depth0 != null ? depth0.admin_user_email : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"admin_user_email","hash":{},"data":data}) : helper)));
},"15":function(container,depth0,helpers,partials,data,blockParams,depths) {
var helper, alias1=container.escapeExpression;
return "remove ";
},"17":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n \n \n \n \n "
+ alias3(container.lambda(((stack1 = (depth0 != null ? depth0.user : depth0)) != null ? stack1.email : stack1), depth0))
+ "
\n Add \n \n";
},"19":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n Total \n "
+ alias3((helpers.setting || (depth0 && depth0.setting) || alias2).call(alias1,"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.summary : stack1)) != null ? stack1.reconciled : stack1),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n \n";
},"21":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Payments \n \n \n ? \n \n
\n \n
\n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n provider \n adyen_sepa_dd_ideal, adyen_creditcard, braintree_creditcard, braintree_paypal or mangopay_creditcard \n \n \n pspref \n Payment service provider main reference number for the transaction, as also listed in the trip details \n \n \n paid \n Payment value \n \n \n reconciled \n Matched amount \n \n \n open \n Unmatched amount \n \n \n status \n open (not fully reconciled) or closed (fully reconciled) \n \n \n before \n Last booking date is before value \n \n \n after \n Last booking date is after value \n \n \n
\n Example: \"status:open\" will show the last 50 payments that are not yet fully reconciled.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.program(21, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "");
},"useData":true,"useDepths":true});
this["Templates"]["lookup_reconciliation_payment_searchresults"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.provider || (depth0 != null ? depth0.provider : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"provider","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.psp_ref || (depth0 != null ? depth0.psp_ref : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"psp_ref","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.currency || (depth0 != null ? depth0.currency : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"currency","hash":{},"data":data}) : helper)))
+ " "
+ alias4((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.paid : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " \n \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.unreconciled : depth0),0,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n "
+ alias4((helpers.short_date || (depth0 && depth0.short_date) || alias2).call(alias1,(depth0 != null ? depth0.last_change : depth0),{"name":"short_date","hash":{},"data":data}))
+ " \n \n";
},"2":function(container,depth0,helpers,partials,data) {
return " Reconciled
\n";
},"4":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3(((helper = (helper = helpers.currency || (depth0 != null ? depth0.currency : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"currency","hash":{},"data":data}) : helper)))
+ " "
+ alias3((helpers.number_format || (depth0 && depth0.number_format) || alias2).call(alias1,(depth0 != null ? depth0.unreconciled : depth0),2,{"name":"number_format","hash":{},"data":data}))
+ " not reconciled
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_reconciliation_payment_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Provider \n PSP reference \n Paid \n Status \n Last change \n \n
\n
\n\n"
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.pagination : depth0)) != null ? stack1.endReached : stack1),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return " \n Load more \n
\n";
},"4":function(container,depth0,helpers,partials,data) {
return " No payment that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.gt || (depth0 && depth0.gt) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.results : depth0)) != null ? stack1.length : stack1),0,{"name":"gt","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_reconciliation_upload"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n \n Report (csv) \n \n
\n \n \n Provider \n \n Collection agency \n Generic \n \n
\n\n\n This file is assumed to be in CSV format with one header line and the following 12 columns:
\n \n 0 : Unique reference (the identifier to make sure that when importing this line again, it is overwritten instead of duplicated) \n 1 : Payment reference (the identifier to group the lines into a single payment. Often equal to the unique reference. Only in case of modifications (eg. chargebacks) this element can contain the unique reference of the principal payment) \n 2 : Trip ID (only set this if you are certain that the payment should be linked to a certain trip) \n 3 : Payment request ID (only set this if you are certain that the payment should be linked to a certain payment request, but not sure to which trip within the request) \n 4 : Booking date (in full ISO 8601 format, eg. 2017-06-09T11:59:53+02:00) \n 5 : Normalized status (can be 'succeeded', 'failed', 'canceled', 'refunded', 'chargedback', 'pending' or 'chargebackReversed'. In case of pending, the amount will be set to 0) \n 6 : Trip currency \n 7 : Amount paid (positive is cash in, negative is cash out) \n 8 : Description (This line will be split in words. If one of the words is a hash ID for a trip it will be set in Trip ID unless trip ID was already non-empty. If one of the words is a hash ID for a batch request it will be set in Payment request ID unless trip ID was already non-empty.) \n 9 : Client name (only for display purposes) \n 10 : Client account number (only for display purposes) \n 11 : Settlement batch reference (only for display purposes) \n \n\n \n Upload \n \n";
},"useData":true});
this["Templates"]["lookup_servicenotification"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ "\n";
},"2":function(container,depth0,helpers,partials,data) {
return " \n \n \n \n \n \n \n";
},"4":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Service notifications \n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0))
+ " \n \n\n\n \n
Description
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.description : stack1), depth0))
+ "
\n
\n\n\n \n
Created at
\n
"
+ alias2((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.created_at : stack1),{"name":"short_datetime","hash":{},"data":data}))
+ "
\n
\n\n \n
Instance
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.instance : stack1), depth0))
+ "
\n
\n\n\n \n
Issue type
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1["function"] : stack1), depth0))
+ " "
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.function_identifier : stack1),undefined,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
Reports
\n
\n"
+ ((stack1 = helpers.each.call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.reports : stack1),{"name":"each","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),131072,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,(helpers.and || (depth0 && depth0.and) || alias4).call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),262144,{"name":"has","hash":{},"data":data}),(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.contract_id : stack1),undefined,{"name":"ne","hash":{},"data":data}),{"name":"and","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n
\n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1;
return "("
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.function_identifier : stack1), depth0))
+ ")";
},"7":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4="function";
return " \n "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.created_at : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " - "
+ alias3(((helper = (helper = helpers.user || (depth0 != null ? depth0.user : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"user","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias2),(typeof helper === alias4 ? helper.call(alias1,{"name":"description","hash":{},"data":data}) : helper)))
+ "\n
\n";
},"9":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.closed_at : stack1),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.program(12, data, 0),"data":data})) != null ? stack1 : "");
},"10":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n Send a reply \n \n
\n Submit \n Close incident \n";
},"12":function(container,depth0,helpers,partials,data) {
var stack1;
return " Re-open incident \n";
},"14":function(container,depth0,helpers,partials,data) {
var stack1;
return " Generalize incident to all contracts \n";
},"16":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Service notifications \n \n \n ? \n \n
\n \n
\n\n Report new incident \n \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n id \n IncidentId is equal to value \n \n \n function \n Function is equal to value \n \n \n functionidentifier \n FunctionIdentifier is equal to value \n \n \n createdbefore \n Created is before value \n \n \n description \n Description contains value \n \n \n status \n 'open' or 'closed' \n \n \n closedbefore \n Closed is before value \n \n \n
\n Example: \"function:connectivity\" will show the last 50 incidents that involve connectivity.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(16, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_servicenotification_searchresults"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.created_at : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.instance || (depth0 != null ? depth0.instance : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"instance","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers["function"] || (depth0 != null ? depth0["function"] : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"function","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"description","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.closed_at : depth0),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n";
},"2":function(container,depth0,helpers,partials,data) {
return "open";
},"4":function(container,depth0,helpers,partials,data) {
return "closed at "
+ container.escapeExpression((helpers.short_datetime || (depth0 && depth0.short_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.closed_at : depth0),{"name":"short_datetime","hash":{},"data":data}));
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_servicenotification_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Time \n Instance \n Issue type \n Description \n Status \n \n
\n
\n\n"
+ ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.pagination : depth0)) != null ? stack1.endReached : stack1),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return " \n Load more \n
\n";
},"4":function(container,depth0,helpers,partials,data) {
return " No service notification that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.gt || (depth0 && depth0.gt) || helpers.helperMissing).call(alias1,((stack1 = (depth0 != null ? depth0.results : depth0)) != null ? stack1.length : stack1),0,{"name":"gt","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_trip"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n Trips \n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NTRIPID : stack1), depth0))
+ " \n \n\n \n
Invoice #
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.trip_hashid : stack1), depth0))
+ "
Resend \n
\n\n \n\n \n
Contract
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CONTRACTNAME : stack1), depth0))
+ "
\n
\n\n \n
Name
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CFIRSTNAME : stack1), depth0))
+ " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CLASTNAME : stack1), depth0))
+ "
\n
\n\n \n\n \n
Passengers
\n
"
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NPASSENGERCOUNT : stack1), depth0))
+ " "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gt || (depth0 && depth0.gt) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.WHEELCHAIRCOUNT : stack1),0,{"name":"gt","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
\n
\n "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.tripstatus : stack1), depth0))
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.tripstatus : stack1),"refunded",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_confirm : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_cki : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_cko : stack1),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_cancel : stack1),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_driver_cancel : stack1),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CCREFUSALREASON : stack1),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NO_SHOW_MEMO : stack1),{"name":"if","hash":{},"fn":container.program(18, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n \n\n \n
From
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPOINAME : stack1),{"name":"if","hash":{},"fn":container.program(20, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.or || (depth0 && depth0.or) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OHOUSENUMBER : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OSTREET : stack1),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(22, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.or || (depth0 && depth0.or) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPLACE : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OZIP : stack1),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(27, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n\n\n \n
To
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPOINAME : stack1),{"name":"if","hash":{},"fn":container.program(30, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.or || (depth0 && depth0.or) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DHOUSENUMBER : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DSTREET : stack1),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(32, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.or || (depth0 && depth0.or) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPLACE : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DZIP : stack1),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(35, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n \n\n \n
Actual map
\n
\n
\n
\n
\n\n \n
Booking
\n
\n "
+ alias2((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DBOOKINGTIME : stack1),{"name":"long_datetime","hash":{},"data":data}))
+ "\n
\n
\n\n \n
Pickup "
+ ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.drpt_short : stack1),{"name":"unless","hash":{},"fn":container.program(38, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DREALPT : stack1),false,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(40, data, 0),"inverse":container.program(51, data, 0),"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
Delivery "
+ ((stack1 = helpers.unless.call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.drdt_short : stack1),{"name":"unless","hash":{},"fn":container.program(38, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.ne || (depth0 && depth0.ne) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DREALDT : stack1),false,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(53, data, 0),"inverse":container.program(55, data, 0),"data":data})) != null ? stack1 : "")
+ "
\n
\n\n \n
Fare
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.fare_before_discount : stack1)) != null ? stack1.incl_formatted : stack1),{"name":"if","hash":{},"fn":container.program(57, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n\n"
+ ((stack1 = helpers["if"].call(alias3,(helpers.has || (depth0 && depth0.has) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),8192,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(59, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n\n \n
Discount used
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DiscountId : stack1),{"name":"if","hash":{},"fn":container.program(61, data, 0),"inverse":container.program(63, data, 0),"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n"
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.PAYMENTMETHOD : stack1),{"name":"if","hash":{},"fn":container.program(65, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n
Charged
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REFUNDED : stack1),{"name":"if","hash":{},"fn":container.program(67, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.charged : stack1)) != null ? stack1.incl_formatted : stack1),{"name":"if","hash":{},"fn":container.program(69, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REFUNDED : stack1),{"name":"if","hash":{},"fn":container.program(71, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.PSPREFERENCE : stack1),{"name":"if","hash":{},"fn":container.program(73, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.action_withdraw_invoice : stack1),{"name":"if","hash":{},"fn":container.program(75, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = ((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.pending : stack1)) != null ? stack1.refund : stack1),{"name":"if","hash":{},"fn":container.program(77, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n\n\n \n
Rating by customer
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_CUSTOMER : stack1),1,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_CUSTOMER : stack1),2,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_CUSTOMER : stack1),3,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_CUSTOMER : stack1),4,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_CUSTOMER : stack1),5,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REASON_BY_CUSTOMER : stack1),{"name":"if","hash":{},"fn":container.program(83, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n \n
Rating by driver
\n
\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_DRIVER : stack1),1,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_DRIVER : stack1),2,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_DRIVER : stack1),3,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_DRIVER : stack1),4,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,(helpers.gte || (depth0 && depth0.gte) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.RATING_BY_DRIVER : stack1),5,{"name":"gte","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(79, data, 0),"inverse":container.program(81, data, 0),"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REASON_BY_DRIVER : stack1),{"name":"if","hash":{},"fn":container.program(85, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n
\n
\n\n \n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1;
return "+ "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.WHEELCHAIRCOUNT : stack1), depth0))
+ " wheelchair(s)";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return " (on "
+ container.escapeExpression((helpers.full_datetime || (depth0 && depth0.full_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REFUNDTIME : stack1),{"name":"full_datetime","hash":{},"data":data}))
+ ")";
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "Accept ";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "Check in ";
},"10":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "Check out ";
},"12":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "CustomerCancel ";
},"14":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "DriverCancel ";
},"16":function(container,depth0,helpers,partials,data) {
var stack1;
return "(reason: "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CCREFUSALREASON : stack1), depth0))
+ ")";
},"18":function(container,depth0,helpers,partials,data) {
var stack1;
return "(memo from driver: "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NO_SHOW_MEMO : stack1), depth0))
+ ")";
},"20":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPOINAME : stack1), depth0));
},"22":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPOINAME : stack1),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OSTREET : stack1), depth0))
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OHOUSENUMBER : stack1),{"name":"if","hash":{},"fn":container.program(25, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"23":function(container,depth0,helpers,partials,data) {
return " ";
},"25":function(container,depth0,helpers,partials,data) {
var stack1;
return " "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OHOUSENUMBER : stack1), depth0));
},"27":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers["if"].call(alias1,(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPOINAME : stack1),(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OHOUSENUMBER : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OSTREET : stack1),{"name":"or","hash":{},"data":data}),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OZIP : stack1),{"name":"if","hash":{},"fn":container.program(28, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OPLACE : stack1), depth0));
},"28":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.OZIP : stack1), depth0))
+ " ";
},"30":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPOINAME : stack1), depth0));
},"32":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPOINAME : stack1),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DSTREET : stack1), depth0))
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DHOUSENUMBER : stack1),{"name":"if","hash":{},"fn":container.program(33, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"33":function(container,depth0,helpers,partials,data) {
var stack1;
return " "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DHOUSENUMBER : stack1), depth0));
},"35":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return ((stack1 = helpers["if"].call(alias1,(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPOINAME : stack1),(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DHOUSENUMBER : stack1),((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DSTREET : stack1),{"name":"or","hash":{},"data":data}),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DZIP : stack1),{"name":"if","hash":{},"fn":container.program(36, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DPLACE : stack1), depth0));
},"36":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DZIP : stack1), depth0))
+ " ";
},"38":function(container,depth0,helpers,partials,data) {
return "window";
},"40":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DREALPT : stack1),{"name":"long_time","hash":{},"data":data}))
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.p_realized : stack1),{"name":"unless","hash":{},"fn":container.program(45, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " ("
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.p_on_time : stack1),{"name":"if","hash":{},"fn":container.program(47, data, 0),"inverse":container.program(49, data, 0),"data":data})) != null ? stack1 : "")
+ " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DEPT : stack1),{"name":"long_time","hash":{},"data":data}))
+ "-"
+ alias3((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DLPT : stack1),{"name":"long_datetime","hash":{},"data":data}))
+ ")\n";
},"41":function(container,depth0,helpers,partials,data) {
return "text-success";
},"43":function(container,depth0,helpers,partials,data) {
return "text-danger";
},"45":function(container,depth0,helpers,partials,data) {
return "E";
},"47":function(container,depth0,helpers,partials,data) {
return "in";
},"49":function(container,depth0,helpers,partials,data) {
return "not in";
},"51":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DEPT : stack1),{"name":"long_time","hash":{},"data":data}))
+ "-"
+ alias3((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DLPT : stack1),{"name":"long_datetime","hash":{},"data":data}))
+ "\n";
},"53":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DREALDT : stack1),{"name":"long_time","hash":{},"data":data}))
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.d_realized : stack1),{"name":"unless","hash":{},"fn":container.program(45, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " ("
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.d_on_time : stack1),{"name":"if","hash":{},"fn":container.program(47, data, 0),"inverse":container.program(49, data, 0),"data":data})) != null ? stack1 : "")
+ " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DEDT : stack1),{"name":"long_time","hash":{},"data":data}))
+ "-"
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DLDT : stack1),{"name":"long_time","hash":{},"data":data}))
+ ")\n";
},"55":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DEDT : stack1),{"name":"long_time","hash":{},"data":data}))
+ "-"
+ alias3((helpers.long_time || (depth0 && depth0.long_time) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DLDT : stack1),{"name":"long_time","hash":{},"data":data}))
+ "\n";
},"57":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.escapeExpression;
return alias1((helpers.setting || (depth0 && depth0.setting) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias1(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.fare_before_discount : stack1)) != null ? stack1.incl_formatted : stack1), depth0));
},"59":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"61":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "Yes: "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DiscountType : stack1), depth0))
+ " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.DiscountId : stack1), depth0));
},"63":function(container,depth0,helpers,partials,data) {
return "No";
},"65":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n";
},"67":function(container,depth0,helpers,partials,data) {
return "";
},"69":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.escapeExpression;
return alias1((helpers.setting || (depth0 && depth0.setting) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias1(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.charged : stack1)) != null ? stack1.incl_formatted : stack1), depth0));
},"71":function(container,depth0,helpers,partials,data) {
return " ";
},"73":function(container,depth0,helpers,partials,data) {
var stack1;
return "(payment reference "
+ container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.PSPREFERENCE : stack1), depth0))
+ ")";
},"75":function(container,depth0,helpers,partials,data) {
var stack1;
return "withdraw invoice ";
},"77":function(container,depth0,helpers,partials,data) {
var stack1;
return "cancel pending refund ";
},"79":function(container,depth0,helpers,partials,data) {
return " ";
},"81":function(container,depth0,helpers,partials,data) {
return " ";
},"83":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REASON_BY_CUSTOMER : stack1), depth0))
+ " ("
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CATEGORY_BY_CUSTOMER : stack1), depth0))
+ ")";
},"85":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.REASON_BY_DRIVER : stack1), depth0))
+ " ("
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CATEGORY_BY_DRIVER : stack1), depth0))
+ ")";
},"87":function(container,depth0,helpers,partials,data) {
return " \n
\n \n Trip \n \n \n ? \n \n
\n \n
\n\n\n Book new trip \n \n\n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n TripId contains value \n \n \n id \n TripId is equal to value \n \n \n invoice \n Invoice # is equal to value \n \n \n customer \n Name of customer contains value \n \n \n customerid \n CustomerId is equal to value \n \n \n driver \n Name of driver contains value \n \n \n driverid \n DriverId is equal to value \n \n \n vehicle \n License plate contains value \n \n \n orig \n Origination address contains value \n \n \n dest \n Destination address contains value \n \n \n before \n BookingTime is before value \n \n \n pickupbefore \n Earliest pickup is before value \n \n \n pickupafter \n Earliest pickup is after value \n \n \n status \n 'open', 'fail', 'success' or tripstate \n \n \n promo \n 'no' or 'yes' \n \n \n pspref \n Payment service provider reference contains value \n \n \n
\n Example: \"vehicle:AA-AA-01 driver:'John Doe'\" will show the last 50 trips for the vehicle with license plate \"AA-AA-01\" driven by drivers with \"John Doe\" in their name.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return "\n\n\n"
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.trip : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(87, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_tripstate"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n
\n \n Tripstate \n \n \n ? \n \n
\n \n
\n\n
\n\n\n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n tripid \n TripId is equal to value \n \n \n customer \n Name of customer contains value \n \n \n customerid \n CustomerId is equal to value \n \n \n driver \n Name of driver contains value \n \n \n driverid \n DriverId is equal to value \n \n \n vehicle \n License plate contains value \n \n \n before \n BookingTime is before value \n \n \n after \n BookingTime is after value \n \n \n status \n TripState is value (tripAccepted, customerPickedUp etc.) \n \n \n
\n Example: \"vehicle:AA-AA-01 driver:'John Doe'\" will show the last 50 tripstates for the vehicle with license plate \"AA-AA-01\" driven by drivers with \"John Doe\" in their name.\n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["lookup_tripstate_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Id \n Time \n Trip \n Customer \n Passengers \n Driver \n Vehicle \n Status \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.NTRIPOPERATIONCHANGEID || (depth0 != null ? depth0.NTRIPOPERATIONCHANGEID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NTRIPOPERATIONCHANGEID","hash":{},"data":data}) : helper)))
+ " "
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.CTRIPRECSTATUS : depth0),"I",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4((helpers.full_datetime || (depth0 && depth0.full_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DCREATE : depth0),{"name":"full_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.NTRIPID || (depth0 != null ? depth0.NTRIPID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NTRIPID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CCUSTOMERNAME || (depth0 != null ? depth0.CCUSTOMERNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CCUSTOMERNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.NPASSENGERCOUNT || (depth0 != null ? depth0.NPASSENGERCOUNT : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NPASSENGERCOUNT","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || alias2).call(alias1,(depth0 != null ? depth0.NDRIVERID : depth0),null,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || alias2).call(alias1,(depth0 != null ? depth0.CLICENCEPLATE : depth0),null,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4(((helper = (helper = helpers.tripstatus_ex_refund || (depth0 != null ? depth0.tripstatus_ex_refund : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tripstatus_ex_refund","hash":{},"data":data}) : helper)))
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
return "(I)";
},"5":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return ""
+ alias4(((helper = (helper = helpers.DRIVER_FIRSTNAME || (depth0 != null ? depth0.DRIVER_FIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"DRIVER_FIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.DRIVER_LASTNAME || (depth0 != null ? depth0.DRIVER_LASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"DRIVER_LASTNAME","hash":{},"data":data}) : helper)))
+ " ";
},"7":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return ""
+ alias4(((helper = (helper = helpers.CLICENCEPLATE || (depth0 != null ? depth0.CLICENCEPLATE : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLICENCEPLATE","hash":{},"data":data}) : helper)))
+ " ";
},"9":function(container,depth0,helpers,partials,data) {
return " No tripstate that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_trip_add"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return "\n Trips \n New \n \n\n\n \n \n \n \n \n \n \n \n \n \n\n \n \n";
},"useData":true});
this["Templates"]["lookup_trip_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Trip ID \n Name \n Assigned driver \n Booking \n Status \n Pickup \n Delivery \n Charge \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.trips : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.NTRIPID || (depth0 != null ? depth0.NTRIPID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NTRIPID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CFIRSTNAME || (depth0 != null ? depth0.CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.CLASTNAME || (depth0 != null ? depth0.CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CDRIVERNAME || (depth0 != null ? depth0.CDRIVERNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CDRIVERNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DBOOKINGTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ alias4(((helper = (helper = helpers.tripstatus || (depth0 != null ? depth0.tripstatus : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tripstatus","hash":{},"data":data}) : helper)))
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.DREALPT : depth0),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.OHOUSENUMBER : depth0),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.program(17, data, 0),"data":data})) != null ? stack1 : "")
+ "\n \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.DREALDT : depth0),undefined,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(22, data, 0),"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.DHOUSENUMBER : depth0),{"name":"if","hash":{},"fn":container.program(27, data, 0),"inverse":container.program(29, data, 0),"data":data})) != null ? stack1 : "")
+ "\n \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.REFUNDED : depth0),{"name":"if","hash":{},"fn":container.program(34, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.charged : depth0)) != null ? stack1.nonzero : stack1),{"name":"if","hash":{},"fn":container.program(36, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.REFUNDED : depth0),{"name":"if","hash":{},"fn":container.program(38, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
return " - \n";
},"5":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.DREALPT : depth0),false,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.program(8, data, 0),"data":data})) != null ? stack1 : "");
},"6":function(container,depth0,helpers,partials,data) {
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DEPT : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " - "
+ alias3((helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,(depth0 != null ? depth0.DLPT : depth0),"HH:mm",{"name":"date_format","hash":{},"data":data}))
+ " \n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DREALPT : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.p_realized : depth0),{"name":"unless","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " ("
+ alias3(((helper = (helper = helpers.pickup_diff || (depth0 != null ? depth0.pickup_diff : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"pickup_diff","hash":{},"data":data}) : helper)))
+ ") \n ";
},"9":function(container,depth0,helpers,partials,data) {
return "text-success";
},"11":function(container,depth0,helpers,partials,data) {
return "text-danger";
},"13":function(container,depth0,helpers,partials,data) {
return "E";
},"15":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return alias4(((helper = (helper = helpers.OSTREET || (depth0 != null ? depth0.OSTREET : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"OSTREET","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.OHOUSENUMBER || (depth0 != null ? depth0.OHOUSENUMBER : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"OHOUSENUMBER","hash":{},"data":data}) : helper)));
},"17":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.OPOINAME : depth0),{"name":"if","hash":{},"fn":container.program(18, data, 0),"inverse":container.program(20, data, 0),"data":data})) != null ? stack1 : "");
},"18":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.OPOINAME || (depth0 != null ? depth0.OPOINAME : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"OPOINAME","hash":{},"data":data}) : helper)));
},"20":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.OSTREET || (depth0 != null ? depth0.OSTREET : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"OSTREET","hash":{},"data":data}) : helper)));
},"22":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || helpers.helperMissing).call(alias1,(depth0 != null ? depth0.DREALDT : depth0),false,{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.program(25, data, 0),"data":data})) != null ? stack1 : "");
},"23":function(container,depth0,helpers,partials,data) {
var alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DEDT : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " - "
+ alias3((helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,(depth0 != null ? depth0.DLDT : depth0),"HH:mm",{"name":"date_format","hash":{},"data":data}))
+ " \n";
},"25":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DREALDT : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.d_realized : depth0),{"name":"unless","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " ("
+ alias3(((helper = (helper = helpers.delivery_diff || (depth0 != null ? depth0.delivery_diff : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"delivery_diff","hash":{},"data":data}) : helper)))
+ ") \n ";
},"27":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return alias4(((helper = (helper = helpers.DSTREET || (depth0 != null ? depth0.DSTREET : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"DSTREET","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.DHOUSENUMBER || (depth0 != null ? depth0.DHOUSENUMBER : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"DHOUSENUMBER","hash":{},"data":data}) : helper)));
},"29":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.DPOINAME : depth0),{"name":"if","hash":{},"fn":container.program(30, data, 0),"inverse":container.program(32, data, 0),"data":data})) != null ? stack1 : "");
},"30":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.DPOINAME || (depth0 != null ? depth0.DPOINAME : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"DPOINAME","hash":{},"data":data}) : helper)));
},"32":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.DSTREET || (depth0 != null ? depth0.DSTREET : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"DSTREET","hash":{},"data":data}) : helper)));
},"34":function(container,depth0,helpers,partials,data) {
return "";
},"36":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.escapeExpression;
return alias1((helpers.setting || (depth0 && depth0.setting) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ " "
+ alias1(container.lambda(((stack1 = (depth0 != null ? depth0.charged : depth0)) != null ? stack1.incl_formatted : stack1), depth0));
},"38":function(container,depth0,helpers,partials,data) {
return " ";
},"40":function(container,depth0,helpers,partials,data) {
return " No trip that satisfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.trips : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(40, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_vehicle"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n Vehicles \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n \n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n\n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1.LicencePlate : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
return "for=\"vehicle_id\"";
},"8":function(container,depth0,helpers,partials,data) {
return " \n";
},"10":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " "
+ alias2(alias1(((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1.LicencePlate : stack1), depth0))
+ "
\n \n";
},"12":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " "
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ " \n";
},"13":function(container,depth0,helpers,partials,data) {
return "selected";
},"15":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"17":function(container,depth0,helpers,partials,data) {
return "Add";
},"19":function(container,depth0,helpers,partials,data) {
return "Save";
},"21":function(container,depth0,helpers,partials,data) {
var stack1;
return "Remove ";
},"23":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n 25 most recent shifts \n \n
\n \n \n Shift ID \n Driver \n State \n Start \n End \n Planned end \n \n \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.recentShifts : depth0),{"name":"each","hash":{},"fn":container.program(24, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
\n
\n";
},"24":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.NSHIFTID || (depth0 != null ? depth0.NSHIFTID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NSHIFTID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.CFIRSTNAME || (depth0 != null ? depth0.CFIRSTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CFIRSTNAME","hash":{},"data":data}) : helper)))
+ " "
+ alias4(((helper = (helper = helpers.CLASTNAME || (depth0 != null ? depth0.CLASTNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CLASTNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.shiftState || (depth0 != null ? depth0.shiftState : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"shiftState","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DBCTLOGONTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || alias2).call(alias1,(depth0 != null ? depth0.DBCTLOGOFFTIME : depth0),false,{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(25, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DROSTERENDTIME : depth0),{"name":"short_datetime","hash":{},"data":data}))
+ " \n \n";
},"25":function(container,depth0,helpers,partials,data) {
return container.escapeExpression((helpers.short_datetime || (depth0 && depth0.short_datetime) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.DBCTLOGOFFTIME : depth0),{"name":"short_datetime","hash":{},"data":data}));
},"27":function(container,depth0,helpers,partials,data) {
return " \n
\n Vehicle \n \n \n \n\n Add vehicle \n\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.vehicle : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(27, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["lookup_vehicle_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n License plate \n Type \n In use \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.vehicles : depth0)) != null ? stack1.Vehicles : stack1),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.LicencePlate || (depth0 != null ? depth0.LicencePlate : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"LicencePlate","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.VehicleTypeDescription || (depth0 != null ? depth0.VehicleTypeDescription : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"VehicleTypeDescription","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.active_shift : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(5, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return ""
+ alias4(((helper = (helper = helpers.active_driver_name || (depth0 != null ? depth0.active_driver_name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"active_driver_name","hash":{},"data":data}) : helper)))
+ " until "
+ alias4((helpers.short_datetime || (depth0 && depth0.short_datetime) || alias2).call(alias1,(depth0 != null ? depth0.DrosterendTime : depth0),{"name":"short_datetime","hash":{},"data":data}));
},"5":function(container,depth0,helpers,partials,data) {
return "No";
},"7":function(container,depth0,helpers,partials,data) {
return " No vehicle that satistfies this query.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.vehicles : depth0)) != null ? stack1.Vehicles : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(7, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["map_container"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n
\n
\n
\n\n
\n
Live map
\n
\n
\n
\n \n \n
\n \n \n \n 1x \n 5x \n 10x \n 60x \n \n
\n \n \n \n \n \n \n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["reporting_clients"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " (SQL) ";
},"3":function(container,depth0,helpers,partials,data) {
return " (SQL) ";
},"5":function(container,depth0,helpers,partials,data) {
return " (SQL) ";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return "\n\n\n
Registrations and active clients [#]"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n
\n
\n\n\n
Mutations in registrations and active clients [#]"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n
\n
\n\n\n
Completed trips [#]"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n
\n
\n";
},"useData":true});
this["Templates"]["reporting_container"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return "";
},"3":function(container,depth0,helpers,partials,data) {
return " \n";
},"5":function(container,depth0,helpers,partials,data) {
return "";
},"7":function(container,depth0,helpers,partials,data) {
return "";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return "\n
\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),16,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),32,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),64,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.or || (depth0 && depth0.or) || alias2).call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),128,{"name":"has","hash":{},"data":data}),(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"or","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n Loading...\n
\n
\n";
},"useData":true});
this["Templates"]["reporting_ops_graph"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "\n\n\n
Active driver hours/ hour [#] (
SQL )
\n
\n \n
\n
\n\n\n
Trips per driver hour [#]
(SQL) \n
\n \n
\n
\n\n\n
Gross revenue per driver hour ["
+ container.escapeExpression((helpers.setting || (depth0 && depth0.setting) || helpers.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"primaryCurrency",{"name":"setting","hash":{},"data":data}))
+ "]
(SQL) \n
\n \n
\n
\n\n\n
Utilization (seats filled/hour) [#]
(SQL) \n
\n \n
\n
\n\n\n
Rejections by drivers [% of offered rides]
(SQL) \n
\n \n
\n
\n\n\n\n\n
Distribution of acceptance response time by driver [sec]
(SQL) \n
\n \n
\n
\n\n\n
Pickup punctuality [%]
(SQL) \n
\n \n
\n
\n\n\n
Delivery punctuality [%]
(SQL) \n
\n \n
\n
\n\n\n
Average trip rating [1-5]
(SQL) \n
\n \n
\n
\n";
},"useData":true});
this["Templates"]["reporting_ops_table"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n\n \n
\n \n \n Name \n DriverId \n Hours \n Trips \n Utilization \n Relative utilization \n Rejected \n Canceled \n Noshow \n Response time \n Punctuality \n Rating \n \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.drivers : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.CDRIVERNAME || (depth0 != null ? depth0.CDRIVERNAME : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"CDRIVERNAME","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.NDRIVERID || (depth0 != null ? depth0.NDRIVERID : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"NDRIVERID","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.hours || (depth0 != null ? depth0.hours : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"hours","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.successful_trip_count || (depth0 != null ? depth0.successful_trip_count : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"successful_trip_count","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.utilization || (depth0 != null ? depth0.utilization : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"utilization","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.relative_utilization || (depth0 != null ? depth0.relative_utilization : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"relative_utilization","hash":{},"data":data}) : helper)))
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.accept_reject_bool : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.trips_bool : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.trips_bool : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.accept_count : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.successful_trip_count : depth0),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.successful_trip_rated_trip_count : depth0),{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " "
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.successful_trip_count : depth0),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n";
},"3":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.rejected || (depth0 != null ? depth0.rejected : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"rejected","hash":{},"data":data}) : helper)));
},"5":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.canceled || (depth0 != null ? depth0.canceled : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"canceled","hash":{},"data":data}) : helper)));
},"7":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.noshow || (depth0 != null ? depth0.noshow : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"noshow","hash":{},"data":data}) : helper)));
},"9":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.response_time || (depth0 != null ? depth0.response_time : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"response_time","hash":{},"data":data}) : helper)));
},"11":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.punctuality || (depth0 != null ? depth0.punctuality : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"punctuality","hash":{},"data":data}) : helper)));
},"13":function(container,depth0,helpers,partials,data) {
var helper;
return container.escapeExpression(((helper = (helper = helpers.rating || (depth0 != null ? depth0.rating : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"rating","hash":{},"data":data}) : helper)));
},"15":function(container,depth0,helpers,partials,data) {
var helper;
return "("
+ container.escapeExpression(((helper = (helper = helpers.rating_share || (depth0 != null ? depth0.rating_share : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"rating_share","hash":{},"data":data}) : helper)))
+ ")";
},"17":function(container,depth0,helpers,partials,data) {
return " No results found
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return "\n\n"
+ ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.drivers : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(17, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["reporting_query"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return " \n \n \n Backend\n \n
\n";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n \n BI\n \n
\n";
},"4":function(container,depth0,helpers,partials,data) {
return "checked";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return "\n\n\n
\n \n Query \n "
+ container.escapeExpression(((helper = (helper = helpers.query || (depth0 != null ? depth0.query : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"query","hash":{},"data":data}) : helper)))
+ " \n
\n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),128,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n Submit \n \n
\n\n\n\n\n\n\n
\n";
},"useData":true});
this["Templates"]["scheduler_container"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "
\n \n\n \n \n
\n \n \n \n
\n \n \n
\n \n \n \n \n \n \n\n
\n\n\n
\n
\n \n
\n
\n To add a new shift, press alt and click where the shift should start. It is not immediately synced to the server. \n To remove a shift, press alt and click on the shift that should be removed. It is immediately synced to the server. \n To edit a shift, click on it. Modifications are not immediately synced to the server (except for removal, logon and logoff). \n Shifts color coding:\n \n Orange: Contains changes that are not yet saves to the server. \n Green: Active \n Light green: ActiveWithIntentToDeactivate \n Gray: Inactive \n \n \n \n
\n \n
\n
\n
\n\n\n
\n
\n
\n \n \n
\n Shifts (csv) \n \n
\n\n\n
This file is assumed to be in CSV format with one header line and the following columns:
\n
\n 0 : Driver id (can be empty) \n 1 : Driver name (only for local display purposes, will be replaced when the shift is added to the server) \n 2 : License plate (can be empty if vehicle type is filled) \n 3 : Vehicle type (can be empty if license plate is filled) \n 4 : Start time of shift (in full ISO 8601 format, eg. 2017-06-09T11:59:53+02:00) \n 5 : End time of shift (in full ISO 8601 format, eg. 2017-06-09T11:59:53+02:00) \n 6 : Latitude of start location \n 7 : Longitude of start location \n 8 : Name of start location \n 9 : Latitude of end location \n 10 : Longitude of end location \n 11 : Name of end location \n \n\n
Shifts will be added locally to the schedule overview. You can send them to the server by pressing save afterwards.
\n
\n \n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["scheduler_modal"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return "not synced yet";
},"3":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return alias2(alias1(((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.shiftId : stack1), depth0))
+ " ("
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.serverShift : depth0)) != null ? stack1.state : stack1)) != null ? stack1.value : stack1), depth0))
+ ")";
},"5":function(container,depth0,helpers,partials,data) {
return "starting on ";
},"7":function(container,depth0,helpers,partials,data) {
return "has-success";
},"9":function(container,depth0,helpers,partials,data) {
return "checked";
},"11":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.vehicle : stack1)) != null ? stack1.vehicleTypeName : stack1), depth0));
},"13":function(container,depth0,helpers,partials,data) {
return "Reset ";
},"15":function(container,depth0,helpers,partials,data) {
return "Remove ";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4=container.lambda;
return "\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["settings_apps"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return "\n \n iOS driver minimum version \n \n
\n \n Android driver \n \n
\n \n iOS customer \n \n
\n \n Android customer \n \n
\n \n iOS driver certificate (.pem) \n \n
\n \n iOS driver certificate passphrase \n \n
\n \n \n iOS customer certificate passphrase \n \n
\n \n Android FCM key \n \n
\n \n Save \n ";
},"useData":true});
this["Templates"]["settings_bi"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n \n MySQL endpoint \n \n
\n \n MySQL username \n \n
\n \n MySQL password \n \n
\n \n MySQL database \n \n
\n\n \n Save \n \n";
},"useData":true});
this["Templates"]["settings_container"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return "";
},"3":function(container,depth0,helpers,partials,data) {
return "";
},"5":function(container,depth0,helpers,partials,data) {
return "";
},"7":function(container,depth0,helpers,partials,data) {
return "";
},"9":function(container,depth0,helpers,partials,data) {
return "";
},"11":function(container,depth0,helpers,partials,data) {
return "";
},"13":function(container,depth0,helpers,partials,data) {
return "";
},"15":function(container,depth0,helpers,partials,data) {
return "";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing;
return "\n
\n \n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),65536,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1024,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1024,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1024,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1024,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4096,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),2048,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n "
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),256,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n
\n\n\n
\n";
},"useData":true});
this["Templates"]["settings_mail"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n \n Email sender address \n \n
\n \n Email sender name \n \n
\n \n Mailchimp API key \n \n
\n \n Mailchimp customer list ID \n \n
\n \n Mailchimp driver list ID \n \n
\n \n Zendesk account name \n \n
\n \n\n \n Save \n \n";
},"useData":true});
this["Templates"]["settings_meetingpoints"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "
\n
\n\n \n \n \n \n \n
\n \n\n\n\n
\n
\n \n
\n
\n To create a meetingpoint, first select or create a polygon for the area for which the meetingpoint could be enforced. \n Changes (adding, removing, editing) are only synced to the server when Save is pressed. \n Polygon color coding:\n \n Gray: Selected \n Orange: Contains changes that are not yet saves to the server. \n Green: In sync \n \n \n \n
\n \n
\n
\n
\n\n\n
\n
\n\n\n\n\n\n\n \n
\n
\n\n\n\n\n\n\n\n\n
\n
\n
\n \n Meetingpoints (csv) \n \n
\n \n \n
This file is assumed to be in CSV format with one header line and the following columns:
\n
\n 1 : Polygon coordinates-list in JSON format (only fill for first line of polygon) \n 2 : Meeting point coordinates in JSON format (only fill for first line of meeting point) \n 3 : Language \n 4 : Meetingpoint name \n 5 : Meeting point description \n 6 : URL (optional) \n 7 : Dates not available in JSON format (optional)(only fill for first line of meeting point) eg: [{\"start\": \"23-01-2019\", \"end\": \"22-02-2019\"}, {\"start\": \"24-02-2019\", \"end\": \"24-02-2019\"}] \n \n
\n Meetingpoints will be added locally. You can send them to the server by pressing save afterwards.
\n \n
\n
\n
\n \n Polygons (csv) \n \n
\n \n
These files are assumed to be in CSV format with one header line and the following 2 columns:
\n
Polygons file
\n
\n 1 : Polygon name (a unique id that you can reference when uploading meeting points) \n 2 : Polygon coordinates-list in JSON format \n \n
Polygons will be added locally. You can send them to the server by pressing save afterwards.
\n
\n \n
\n
\n
\n \n Meetingpoints (csv) \n \n
\n \n
Meeting points file
\n
\n 1 : Polygon name \n 2 : Meeting point coordinates in JSON format (only fill for first line of meeting point) \n 3 : Language \n 4 : Meetingpoint name \n 5 : Meeting point description \n 6 : URL (optional) \n 7 : Dates not available in JSON format (optional)(only fill for first line of meeting point) eg: [{start: 23-01-2019, end: 22-02-2019}, {start: 24-02-2019, end: 24-02-2019}] \n \n
Meetingpoints will be added locally. You can send them to the server by pressing save afterwards.
\n
\n \n
\n
\n
\n \n
\n
\n
\n";
},"useData":true});
this["Templates"]["settings_meetingpoints_modal"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n \n \n";
},"3":function(container,depth0,helpers,partials,data,blockParams,depths) {
var alias1=container.lambda, alias2=container.escapeExpression;
return " \n\n";
},"5":function(container,depth0,helpers,partials,data) {
return " Delete \n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return "\n
\n
\n \n
\n
\n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.languages : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n \n"
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.metadata_keys : depth0),{"name":"each","hash":{},"fn":container.program(3, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "\n \n
\n \n
\n
\n
\n";
},"useData":true,"useDepths":true});
this["Templates"]["settings_payments"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
return "checked";
},"3":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.invoiceFirstReminderInterval : stack1), depth0));
},"5":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.invoiceSecondReminderInterval : stack1), depth0));
},"7":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.invoiceCollectionAgencyIntervalAfterSecondReminder : stack1), depth0));
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=helpers.helperMissing;
return " \n \n Adyen transaction username and password \n \n
\n \n Adyen reporting username and password \n \n
\n \n Adyen skin HMAC \n \n
\n \n Adyen skin code \n \n
\n \n Adyen merchant account \n \n
\n \n Braintree merchant ID \n \n
\n \n Braintree public key \n \n
\n \n Braintree private key \n \n
\n \n SumUp client id \n \n
\n \n SumUp client secret \n \n
\n \n\n \n \n\n \n First reminder (days) \n \n
\n\n \n Second reminder (days) \n \n
\n\n \n\n \n Personal promocode value \n \n
\n\n \n VAT percentage (0-100) \n \n
\n\n \n Save \n \n";
},"useData":true});
this["Templates"]["settings_profile"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {});
return " "
+ alias2(alias1(depth0, depth0))
+ " \n";
},"2":function(container,depth0,helpers,partials,data) {
return "selected";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, alias1=container.lambda, alias2=container.escapeExpression;
return " \n \n Timezone \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.timezones : stack1),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
\n \n Faq url \n \n
\n \n Terms and conditions url \n \n
\n \n Privacy statement url \n \n
\n \n \n";
},"useData":true,"useDepths":true});
this["Templates"]["settings_subscriptions"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n \n "
+ alias4(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper)))
+ "\n \n
\n";
},"2":function(container,depth0,helpers,partials,data) {
return "checked";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n \n \n \n";
},"useData":true});
this["Templates"]["settings_templates"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " "
+ alias3(container.lambda(depth0, depth0))
+ " \n";
},"2":function(container,depth0,helpers,partials,data) {
return "selected";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.subject : stack1),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
},"5":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n";
},"7":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n";
},"9":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression;
return " \n "
+ alias3(((helper = (helper = helpers.key || (data && data.key)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"key","hash":{},"data":data}) : helper)))
+ " \n "
+ alias3((helpers.obj_to_string || (depth0 && depth0.obj_to_string) || alias2).call(alias1,depth0,{"name":"obj_to_string","hash":{},"data":data}))
+ " \n \n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3=container.escapeExpression, alias4="function";
return " \n \n"
+ ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.templates : stack1),{"name":"each","hash":{},"fn":container.program(1, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.template : stack1),"invoice",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(4, data, 0, blockParams, depths),"inverse":container.program(7, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "")
+ " \n "
+ alias3(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.content : stack1), depth0))
+ "
\n\n \n Save \n Send me a test mail \n Show tags \n Reset to default \n \n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Example \n \n \n \n"
+ ((stack1 = helpers.each.call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.tags : stack1),{"name":"each","hash":{},"fn":container.program(9, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n
\n See
Twig for documentation on how to use these parameters.\n
\n \n
\n
\n
\n";
},"useData":true,"useDepths":true});
this["Templates"]["settings_user"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.lambda, alias3=container.escapeExpression, alias4=helpers.helperMissing;
return " \n User \n "
+ ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
+ " \n \n\n \n"
+ ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " \n \n \n
Rights \n
\n"
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),2,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),8,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),16,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(17, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),32,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(19, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),64,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(21, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),128,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),256,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(25, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),512,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(27, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1024,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(29, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),2048,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(31, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),4096,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(33, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),8192,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(35, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),16384,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(37, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),32768,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(39, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),65536,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(41, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),131072,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(43, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),262144,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(45, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),524288,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(47, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),1048576,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(49, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(helpers.has || (depth0 && depth0.has) || alias4).call(alias1,((stack1 = (depth0 != null ? depth0.selectedContract : depth0)) != null ? stack1.rights : stack1),2097152,{"name":"has","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(51, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n \n \n";
},"2":function(container,depth0,helpers,partials,data) {
return "New";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
return container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.name : stack1), depth0));
},"6":function(container,depth0,helpers,partials,data) {
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=helpers.helperMissing;
return " \n \n \n";
},"8":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Map menu, live view and replay up to beginning of day\n \n
\n";
},"9":function(container,depth0,helpers,partials,data) {
return "checked";
},"11":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Map replay before today (addon to map)\n \n
\n";
},"13":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Lookup menu and read access to all submenus not mentioned specifically\n \n
\n";
},"15":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Add trips, drivers, vehicles and companies and perform checkin, checkout and cancel actions (addon to lookup)\n \n
\n";
},"17":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Clients submenu of reporting\n \n
\n";
},"19":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Operations submenu of reporting\n \n
\n";
},"21":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Finance submenu of reporting\n \n
\n";
},"23":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Query BI\n \n
\n";
},"25":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Alter authenticated users and their rights\n \n
\n";
},"27":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Query Backend\n \n
\n";
},"29":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Apps, BI, Mail and Payments settings\n \n
\n";
},"31":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Meeting points\n \n
\n";
},"33":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Mail templates\n \n
\n";
},"35":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Lookup reconciliation\n \n
\n";
},"37":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Edit reconciliation\n \n
\n";
},"39":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Upload payments\n \n
\n";
},"41":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Lookup and subscribe to service notifications\n \n
\n";
},"43":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Create new service notifications and respond to existing ones\n \n
\n";
},"45":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Generalize incidents to be viewable in all contract environments simultaneously\n \n
\n";
},"47":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n View debug log with all requests including validation\n \n
\n";
},"49":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n View scheduled shifts\n \n
\n";
},"51":function(container,depth0,helpers,partials,data) {
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
return " \n \n Edit scheduled shifts\n \n
\n";
},"53":function(container,depth0,helpers,partials,data) {
return "Add";
},"55":function(container,depth0,helpers,partials,data) {
return "Save";
},"57":function(container,depth0,helpers,partials,data) {
var stack1;
return " Remove \n";
},"59":function(container,depth0,helpers,partials,data) {
return " \n
\n \n User \n \n \n ? \n \n
\n \n
\n\n Add user \n\n
\n\n \n
\n
\n \n
\n
\n \n \n Parameter \n Explanation \n \n \n \n \n none \n Name contains value \n \n \n id \n UserId is equal to value \n \n \n email \n Email contains value \n \n \n before \n User is created before value \n \n \n after \n User is created after value \n \n \n
\n Example: \"name:harry after:'2016-01-01 00:00'\" will show the last 50 users with harry in their name, created from 2016 onwards.\n
\n \n
\n
\n
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(59, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});
this["Templates"]["settings_user_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
var stack1;
return " \n
\n \n Name \n Email \n \n Rights-bitcode \n \n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ "
\n
\n";
},"2":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
return " \n "
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
+ " \n "
+ alias4(((helper = (helper = helpers.email || (depth0 != null ? depth0.email : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"email","hash":{},"data":data}) : helper)))
+ " \n \n "
+ alias4(((helper = (helper = helpers.rights || (depth0 != null ? depth0.rights : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"rights","hash":{},"data":data}) : helper)))
+ " \n \n";
},"4":function(container,depth0,helpers,partials,data) {
return " No users found.
\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.results : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "");
},"useData":true});