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
    1. Activities
    2. \n
    3. " + alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0)) + "
    4. \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
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \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
    ParameterExplanation
    customeridCustomerId is equal to value
    driveridDriverId is equal to value
    eventEvent is equal to value
    levelEvent level equals value (info, warning or error)
    str1 to str3Event details string 1/2/3 contains value
    int1 or int2Event details int 1/2 is equal to value
    float1 or float2Event details float 1/2 is equal to value
    sourceEvent source equals value
    sourcetypeEvent source type equals value
    sourceversionEvent source version equals value
    beforeLog time is before value
    afterLog time is after value
    \n Example: \"errorcode:3 customer:32\" will show the last 50 errors with errorcode 3 for customer 32.\n
    \n
    \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 \n \n \n \n \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 : "") + "
    LogEventUserSourceLevel
    \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
    1. Companies
    2. \n
    3. " + ((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 : "") + "
    4. \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(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
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n

    The Netherlands

    \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 " + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.company : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"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 \n
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.company : depth0)) != null ? stack1.CompanyId : stack1), depth0)) + "

    \n \n
    \n
    \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 \n \n \n \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 : "") + "
    NameEmailPhoneActive
    \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
    \n \n \n \n \n \n
    \n
    \n
    \n\n Add company

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    noneName, email or CompanyId contains value
    idCompanyId is equal to value
    nameName contains value
    addressAddress contains value
    emailEmail address contains value
    vatVAT number contains value
    regnrCompany registration number contains value
    ibanIBAN contains value
    regbeforeRegistration date is before value
    regafterRegistration date is after value
    \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
    \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 \n \n \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 : "") + "
    Name# driversCreated on
    \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 "
  • Customer
  • \n
  • Trip
  • \n"; },"3":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
  • \n Reconciliation \n \n
  • \n"; },"4":function(container,depth0,helpers,partials,data) { return "
  • Upload
  • "; },"6":function(container,depth0,helpers,partials,data) { return "
  • Tripstate
  • \n
  • Driver
  • \n \n
  • Activity
  • \n
  • Payment method
  • \n
  • Promocode
  • \n
  • Discount
  • \n
  • Vehicle
  • \n
  • Company
  • \n"; },"8":function(container,depth0,helpers,partials,data) { return "
  • Service notifications
  • \n"; },"10":function(container,depth0,helpers,partials,data) { return "
  • Debug log
  • \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
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Statuses

    \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
    StatusDescriptionPossible next states
    tripReceivedTrip has been received by the backend and will be processed shortly.tripDeclined, tripAccepted, customerCancelled
    tripReceivedTrip has been received by the backend and will be processed shortly.tripDeclined, tripAccepted, customerCancelled
    tripAcceptedTrip fits within the available capacity and is guaranteed to be executed.paymentAuthorized, customerCancelled
    paymentAuthorizedPayment 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'tawaitingDriverConsent, creditcardFailed, customerCancelled
    awaitingDriverConsentThe trip has been sent to the driver for acceptancedriverAccepted, rejectedByDriver, rejectedByPlanner, customerCancelled
    driverAcceptedThe 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 pickupcustomerPickedUp, driverCancelledBecauseOfDriverWithReplan, driverCancelledBecauseOfClient, customerCancelled
    customerPickedUpThe customer is in the vehiclecustomerArrived, driverCancelledBecauseOfDriver
    customerArrivedThe customer has reached his destinationrefunded
    rejectedByDriver (communicated in API as paymentAuthorized)The driver has rejected the assignment. The planner will replan this trip soonpaymentAuthorized
    rejectedByPlanner (communicated in API as paymentAuthorized)The driver has not responded to the assignment in time. The planner will replan this trip soonpaymentAuthorized
    tripDeclinedThe trip cannot be planned within the available capacitynone
    creditcardFailedThe reservation on the payment method failednone
    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 replannedpaymentAuthorized
    driverCancelledBecauseOfDriverThe 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
    driverCancelledBecauseOfClientNo show of the customer. Customer might pay a cancelation feerefunded
    customerCancelledCustomer has canceled his trip. He might pay a cancelation feerefunded
    refundedThe invoice has been withdrawnnone
    \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
    1. Customers
    2. \n
    3. " + ((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 : "") + "
    4. \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(6, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \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(11, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "
    \n
    \n" + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(18, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(23, data, 0, blockParams, depths),"inverse":container.noop,"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(27, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\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(43, data, 0, blockParams, depths),"inverse":container.noop,"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

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.NCUSTOMERID : stack1), depth0)) + " (" + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.customer_hashid : stack1), depth0)) + ")

    \n \n
    \n
    \n
    \n \n
    \n

    " + alias2((helpers.long_datetime || (depth0 && depth0.long_datetime) || helpers.helperMissing).call(alias3,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.DCREATE : stack1),{"name":"long_datetime","hash":{},"data":data})) + "

    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \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 \n
    \n \n
    \n
    \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
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \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"; },"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 \n
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.paymentmethod_count : stack1), depth0)) + " (search)

    \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(28, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.promocode_hashid : stack1), depth0)) + "

    \n
    \n
    \n
    \n \n
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.successful_trip_count : stack1), depth0)) + "/" + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.trip_count : stack1), depth0)) + " (search)

    \n
    \n
    \n
    \n \n
    \n

    \n " + alias2(alias1(((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.discount_count : stack1), depth0)) + " " + ((stack1 = helpers.unless.call(alias3,(helpers.eq || (depth0 && depth0.eq) || alias4).call(alias3,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.discount_count : stack1),0,{"name":"eq","hash":{},"data":data}),{"name":"unless","hash":{},"fn":container.program(33, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\n " + ((stack1 = helpers["if"].call(alias3,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.discountExplanations : stack1),{"name":"if","hash":{},"fn":container.program(35, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\n" + ((stack1 = helpers.each.call(alias3,((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.discountExplanations : stack1),{"name":"each","hash":{},"fn":container.program(37, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "

    \n
    \n
    \n
    \n \n
    \n

    search

    \n
    \n
    \n
    \n \n
    \n

    search

    \n
    \n
    \n"; },"28":function(container,depth0,helpers,partials,data) { var stack1; return "
    \n \n
    \n

    " + ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.customer : depth0)) != null ? stack1.hasOutstandingInvoices : stack1),{"name":"if","hash":{},"fn":container.program(29, data, 0),"inverse":container.program(31, data, 0),"data":data})) != null ? stack1 : "") + " (search)

    \n
    \n
    \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
    \n \n \n
    \n\n
    \n \n
    \n

    \n \n

    \n
    \n
    \n \n
    \n
    \n\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
    \n \n \n \n \n \n
    \n
    \n
    \n\n Add new customer\n

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    noneName, email or CustomerId contains value
    idCustomerId is equal to value
    hashHash of CustomerId is equal to value
    firstFirst name contains value
    lastLast name contains value
    emailEmail address contains value
    telTelephone number contains value
    promoPromocode is equal to value
    beforeRegistration date is before value
    afterRegistration date is after value
    \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
    \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 \n \n \n \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 : "") + "
    NameEmailPhoneRegistration
    \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
    1. Debug log
    2. \n
    3. " + alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0)) + "
    4. \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
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    customeridCustomerId is equal to value
    driveridDriverId is equal to value
    adminidAdminId is equal to value
    side'front' or 'back'
    serviceService contains value
    apiversionApi-Version header is equal to value
    parameters'valid' or 'invalid'
    response'valid' or 'invalid'
    beforeLog time is before value
    afterLog time is after value
    \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
    \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 \n \n \n \n \n \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 : "") + "
    TimeSideServiceUserParametersResponse
    \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
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n\n

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    noneDescription contains value
    idDiscountId is equal to value
    type'marketing' or 'personal'
    customerName of customer contains value or CustomerId is equal to value
    customeridCustomerId is equal to value
    relationName of the person from who the customer got his promocode contains value (only works for personal promocodes)
    relationidCustomerId of the person from who the customer got his promocode is equal to value (only works for personal promocodes)
    status'usable', 'used', 'expired', 'notyetusable' or 'open' ('usable' OR 'notyetusable')
    tripidTripId is equal to value
    beforeCreated is before value
    afterCreated is after value
    \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\n
    \n
    \n
    \n
    \n \n

    Add discount(s)

    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Add\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 \n \n \n \n \n \n \n \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 : "") + "
    CustomerCreatedValid untilTypeValueDescriptionStatusAction
    \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
    1. Drivers
    2. \n
    3. " + ((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 : "") + "
    4. \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 \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 \n
    \n \n
    \n
    \n
    \n \n
    \n\n" + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1.PhotoToken : stack1),{"name":"if","hash":{},"fn":container.program(16, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "
    \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
    \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
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.driver : depth0)) != null ? stack1.DriverId : stack1), depth0)) + " resend welcome email

    \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \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 " \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

    search

    \n
    \n
    \n
    \n \n
    \n

    search

    \n
    \n
    \n
    \n \n
    \n

    search

    \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 \n \n \n \n \n \n\n \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
    Shift IDStateStartEndPlanned startPlanned endVehicle
    \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 \n \n \n \n \n
    \n
    \n
    \n\n Add driver

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    noneName or email contains value
    idDriverId is equal to value
    firstFirst name contains value
    lastLast name contains value
    emailEmail address contains value
    telTelephone number contains value
    regbeforeRegistration date is before value
    regafterRegistration date is after value
    \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
    \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 \n \n \n \n \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 : "") + "
    NameEmailPhoneShift statusShift details
    \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 \n \n \n \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    idPayment method id is equal to value
    hashidPayment method hashid is equal to value
    identifierAccount identifier (eg. last 4 digits) is equal to value
    aliasAccount alias (unique identifier) is equal to value
    customeridCustomerId is equal to value
    methodMethod (adyen_creditcard, adyen_sepa_dd_ideal, braintree_paypal, mangopay_creditcard) is equal to value
    statusStatus equals value (Authorised, Failed, Refused, AwaitingAuthorisation)
    typeType contains value (e.g. MASTERCARD, VISA, ABNANL2A)
    activeCard is active (1) or inactive (0)
    defaultCard is default (1) or not default (1)
    \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
    \n
    \n"; },"useData":true}); this["Templates"]["lookup_paymentmethod_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) { var stack1; return "
    \n \n \n \n \n \n \n \n \n \n \n \n \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 : "") + "
    IdTimeCustomerMethodStatusTypeIdentifierAliasActiveDefault
    \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
    1. Promocodes
    2. \n
    3. " + ((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 : "") + "
    4. \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 " + alias3(((helper = (helper = helpers.productName || (depth0 != null ? depth0.productName : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"productName","hash":{},"data":data}) : helper))) + "-\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
    \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 \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 \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
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n Add\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 \n" + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(24, 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 \n
    \n

    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1.Id : stack1), depth0)) + "

    \n \n
    \n
    \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 \n
    \n

    " + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.promocode : depth0)) != null ? stack1.TimesUsed : stack1), depth0)) + "

    \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) { var stack1, alias1=container.lambda, alias2=container.escapeExpression; return " Remove\n Duplicate\n"; },"26":function(container,depth0,helpers,partials,data) { return "
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n\n\n Add promocode

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    nonePromocode name
    idDiscountId is equal to value
    segmentSegment contains value
    \n Example: \"har source:marketing\" will show the last 50 marketing promocodes with har in the name\n
    \n
    \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 \n \n \n \n \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 : "") + "
    Discount nameSegmentDescriptionValid TilAdded
    \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 \n \n \n \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    customeridCustomerId is equal to value
    tripidTripId is equal to value
    invoiceInvoice ID is equal to value
    batchidPayment request ID is equal to value
    typeprimary, first_reminder, second_reminder or collection_agency
    requestamountBatch amount is equal to value
    tripamountAmount requested for trip is equal to value
    beforeRequest date is before value
    afterRequest date is after value
    \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
    \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 \n \n \n \n \n \n \n \n \n \n \n
    Customer IDRequest IDRequest amountTrip IDTypeBooking dateProviderPayment methodPSP referenceTrip amount
    \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
    1. Invoices
    2. \n
    3. " + alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.trip : stack1)) != null ? stack1.NTRIPID : stack1), depth0)) + "
    4. \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 \n \n \n \n \n \n \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 : "") + "
    Booking dateProviderPSP referenceAmountNoteSourceAction
    \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 \n \n \n \n \n \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 : "") + "
    TypeBooking dateRequest IDProviderPayment methodPSP reference
    \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 \n \n \n \n

    " + alias3(container.lambda(((stack1 = (depth0 != null ? depth0.user : depth0)) != null ? stack1.email : stack1), depth0)) + "

    \n \n \n"; },"34":function(container,depth0,helpers,partials,data) { return " \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 \n \n \n \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    provideradyen_sepa_dd_ideal, adyen_creditcard, braintree_creditcard, braintree_paypal or mangopay_creditcard
    customeridCustomerId is equal to value
    tripidTripId is equal to value
    invoiceInvoice ID is equal to value
    invoicedInvoiced value
    reconciledMatched amount
    openUnmatched amount
    statusopen (not fully reconciled, positive or negative), closed (fully reconciled) or overpaid (overpaid)
    beforeBooking date is before value
    afterBooking date is after value
    \n Example: \"status:open\" will show the last 50 invoices that are not yet fully reconciled.\n
    \n
    \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 \n \n \n \n \n \n \n \n
    Customer IDTrip IDInvoice IDEarliest departureTrip statusInvoicedStatus
    \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
    1. Payments
    2. \n
    3. " + 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)) + "
    4. \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 \n \n \n \n \n \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 : "") + "
    Booking dateStatusAmountClient nameAccountDescription
    \n
    \n\n

    Reconciliation

    \n
    \n
    \n \n \n \n \n \n \n \n \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 : "") + "
    Booking dateTripAmountNoteSourceAction
    \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 \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 \n \n \n \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    provideradyen_sepa_dd_ideal, adyen_creditcard, braintree_creditcard, braintree_paypal or mangopay_creditcard
    psprefPayment service provider main reference number for the transaction, as also listed in the trip details
    paidPayment value
    reconciledMatched amount
    openUnmatched amount
    statusopen (not fully reconciled) or closed (fully reconciled)
    beforeLast booking date is before value
    afterLast booking date is after value
    \n Example: \"status:open\" will show the last 50 payments that are not yet fully reconciled.\n
    \n
    \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 \n \n \n \n \n \n
    ProviderPSP referencePaidStatusLast change
    \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 \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \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\n

    \n \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
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \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
    1. Service notifications
    2. \n
    3. " + alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0)) + "
    4. \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 \n \n
    \n \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 \n \n \n \n \n
    \n
    \n
    \n\n Report new incident\n

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n
    ParameterExplanation
    idIncidentId is equal to value
    functionFunction is equal to value
    functionidentifierFunctionIdentifier is equal to value
    createdbeforeCreated is before value
    descriptionDescription contains value
    status'open' or 'closed'
    closedbeforeClosed is before value
    \n Example: \"function:connectivity\" will show the last 50 incidents that involve connectivity.\n
    \n
    \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 \n \n \n \n \n \n
    TimeInstanceIssue typeDescriptionStatus
    \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
    1. Trips
    2. \n
    3. " + alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NTRIPID : stack1), depth0)) + "
    4. \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
    Customer ID
    \n
    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.NCUSTOMERID : stack1), depth0)) + "
    \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
    Email
    \n
    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CEMAIL : stack1), depth0)) + "
    \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 State\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
    Driver
    \n
    " + alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.CDRIVERNAME : stack1), depth0)) + "
    \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
    Planned route
    \n
    \n Open route in Google Maps\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
    Tripstates
    \n
    \n search\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
    Payment status
    \n
    \n lookup\n
    \n
    \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
    Payment method
    \n
    \n " + alias2(alias1(((stack1 = (depth0 != null ? depth0.trip : depth0)) != null ? stack1.PAYMENTMETHOD : stack1), depth0)) + "\n
    \n
    \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 \n \n \n \n \n
    \n
    \n
    \n\n\n Book new trip\n

    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \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 \n \n \n \n \n \n \n \n
    ParameterExplanation
    noneTripId contains value
    idTripId is equal to value
    invoiceInvoice # is equal to value
    customerName of customer contains value
    customeridCustomerId is equal to value
    driverName of driver contains value
    driveridDriverId is equal to value
    vehicleLicense plate contains value
    origOrigination address contains value
    destDestination address contains value
    beforeBookingTime is before value
    pickupbeforeEarliest pickup is before value
    pickupafterEarliest pickup is after value
    status'open', 'fail', 'success' or tripstate
    promo'no' or 'yes'
    psprefPayment service provider reference contains value
    \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
    \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 \n \n \n \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    ParameterExplanation
    tripidTripId is equal to value
    customerName of customer contains value
    customeridCustomerId is equal to value
    driverName of driver contains value
    driveridDriverId is equal to value
    vehicleLicense plate contains value
    beforeBookingTime is before value
    afterBookingTime is after value
    statusTripState is value (tripAccepted, customerPickedUp etc.)
    \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
    \n
    \n"; },"useData":true}); this["Templates"]["lookup_tripstate_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) { var stack1; return "
    \n \n \n \n \n \n \n \n \n \n \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 : "") + "
    IdTimeTripCustomerPassengersDriverVehicleStatus
    \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
    1. Trips
    2. \n
    3. New
    4. \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 \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
    \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"; },"useData":true}); this["Templates"]["lookup_trip_searchtable"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) { var stack1; return "
    \n \n \n \n \n \n \n \n \n \n \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 : "") + "
    Trip IDNameAssigned driverBookingStatus PickupDeliveryCharge
    \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
    1. Vehicles
    2. \n
    3. " + ((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 : "") + "
    4. \n
    \n\n
    \n
    \n \n
    \n" + ((stack1 = helpers["if"].call(alias1,((stack1 = (depth0 != null ? depth0.vehicle : depth0)) != null ? stack1["new"] : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.program(10, data, 0),"data":data})) != null ? stack1 : "") + "
    \n
    \n
    \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(21, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\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(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 " \n"; },"13":function(container,depth0,helpers,partials,data) { return "selected"; },"15":function(container,depth0,helpers,partials,data) { var stack1; return "
    \n \n
    \n

    search

    \n
    \n
    \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 \n \n \n \n \n \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
    Shift IDDriverStateStartEndPlanned end
    \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 \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 \n \n \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 : "") + "
    License plateTypeIn use
    \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 Now\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"; },"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 "
  • Clients
  • "; },"3":function(container,depth0,helpers,partials,data) { return "
  • \n Operations \n \n
  • \n"; },"5":function(container,depth0,helpers,partials,data) { return "
  • Finance
  • "; },"7":function(container,depth0,helpers,partials,data) { return "
  • Query
  • "; },"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
    \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 \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
    \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
    Trips by state [%] (SQL)
    \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 \n \n \n \n \n \n \n \n \n \n \n \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 : "") + "
    NameDriverIdHoursTripsUtilizationRelative utilizationRejectedCanceledNoshowResponse timePunctualityRating
    \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"; },"3":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \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 \n \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
    Return
    \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 Today\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n Upload\n
    \n
    \n Help\n
    \n
    \n Reload day\n
    \n
    \n Reset\n
    \n
    \n Save\n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Shift scheduler

    \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 \n

    Upload new shifts

    \n
    \n
    \n
    \n \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
    \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

    Shift settings

    \n
    \n
    \n
    \n
    \n \n
    \n

    " + ((stack1 = helpers["if"].call(alias1,(helpers.eq || (depth0 && depth0.eq) || alias2).call(alias1,(depth0 != null ? depth0.type : depth0),"local",{"name":"eq","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") + "

    \n
    \n
    \n
    \n \n
    \n

    " + alias3((helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.startTime : stack1),"HH:mm",{"name":"date_format","hash":{},"data":data})) + " to " + alias3((helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.endTime : stack1),"HH:mm",{"name":"date_format","hash":{},"data":data})) + " (" + ((stack1 = helpers["if"].call(alias1,(helpers.ne || (depth0 && depth0.ne) || alias2).call(alias1,(helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.startTime : stack1),"YYYY-MM-DD",{"name":"date_format","hash":{},"data":data}),(helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.endTime : stack1),"YYYY-MM-DD",{"name":"date_format","hash":{},"data":data}),{"name":"ne","hash":{},"data":data}),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + alias3((helpers.date_format || (depth0 && depth0.date_format) || alias2).call(alias1,((stack1 = (depth0 != null ? depth0.localShift : depth0)) != null ? stack1.startTime : stack1),"ddd D MMM YYYY",{"name":"date_format","hash":{},"data":data})) + ")

    \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
    \n \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n Log Off\n Log On\n " + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0["new"] : depth0),{"name":"unless","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\n " + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0["new"] : depth0),{"name":"unless","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\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 \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

    .PEM files only.

    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n

    \n \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 \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n\n

    \n \n
    \n"; },"useData":true}); this["Templates"]["settings_container"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) { return "
  • Subscriptions
  • "; },"3":function(container,depth0,helpers,partials,data) { return "
  • Apps
  • "; },"5":function(container,depth0,helpers,partials,data) { return "
  • BI
  • "; },"7":function(container,depth0,helpers,partials,data) { return "
  • Mail
  • "; },"9":function(container,depth0,helpers,partials,data) { return "
  • Payments
  • "; },"11":function(container,depth0,helpers,partials,data) { return "
  • Templates
  • "; },"13":function(container,depth0,helpers,partials,data) { return "
  • Meeting points
  • "; },"15":function(container,depth0,helpers,partials,data) { return "
  • User
  • "; },"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
    \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 \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

    The file is accessible in templates at {{base_url}}/data/contracts/" + alias2(alias1(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.productName : stack1), depth0)) + ".png.

    \n
    \n\n

    \n \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 Upload\n
    \n
    \n Download\n
    \n
    \n Help\n
    \n
    \n Reset\n
    \n
    \n Save\n
    \n
    \n
    \n\n\n
    \n
    \n
    \n
    \n \n

    Meeting point manager

    \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

    Upload new meetingpoints

    \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

    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 \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 \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
    \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

    " + alias4(((helper = (helper = helpers.languageName || (depth0 != null ? depth0.languageName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"languageName","hash":{},"data":data}) : helper))) + "

    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n"; },"3":function(container,depth0,helpers,partials,data,blockParams,depths) { var alias1=container.lambda, alias2=container.escapeExpression; return "
    \n \n
    \n \n
    \n
    \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

    Meeting point settings

    \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
    \n

    Metadata

    \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" + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isDeleteable : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0, blockParams, depths),"inverse":container.noop,"data":data})) != null ? stack1 : "") + " \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 \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
    \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
    \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"; },"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 " \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 \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n
    \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
    \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" + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.item : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "
    \n
    \n
    \n
    \n \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 " \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
    \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 \n Send me a test mail\n \n Reset to default\n


    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \n
    \n
    \n \n \n \n \n \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
    ParameterExample
    \n See Twig for documentation on how to use these parameters.\n
    \n
    \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
    1. User
    2. \n
    3. " + ((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 : "") + "
    4. \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 \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \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 \n" + ((stack1 = helpers.unless.call(alias1,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1["new"] : stack1),{"name":"unless","hash":{},"fn":container.program(57, 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.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

    " + alias1(container.lambda(((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.id : stack1), depth0)) + "

    \n
    \n
    \n
    \n \n
    \n

    " + alias1((helpers.long_datetime || (depth0 && depth0.long_datetime) || alias3).call(alias2,((stack1 = (depth0 != null ? depth0.item : depth0)) != null ? stack1.created_at : stack1),{"name":"long_datetime","hash":{},"data":data})) + "

    \n
    \n
    \n \n"; },"8":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \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
    \n"; },"13":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"15":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"17":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"19":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"21":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"23":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"25":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"27":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"29":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"31":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"33":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"35":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"37":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"39":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"41":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"43":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"45":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"47":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"49":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \n \n
    \n"; },"51":function(container,depth0,helpers,partials,data) { var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "
    \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 \n \n \n \n \n
    \n
    \n
    \n\n Add user

    \n\n
    \n\n
    \n
    \n
    \n
    \n \n

    Available parameters

    \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
    ParameterExplanation
    noneName contains value
    idUserId is equal to value
    emailEmail contains value
    beforeUser is created before value
    afterUser is created after value
    \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
    \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 \n \n \n \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 : "") + "
    NameEmailRights-bitcode
    \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});