sipuserdefault.lzx
<library>
<view name="sipuserdefault" visible="false" width="${parent.width}" height="${parent.height-25}" initstage="defer">
<view width="${parent.width}">
<view align="left">
<text fontstyle="bold">Klantentool</text>
</view>
<view align="right">
<text> sip enduser rev.2011032601
</text>
</view>
</view>
<simplelayout axis="y" spacing="5"/>
<view name="userdefault" width="${parent.width}" height="${parent.height}">
<tabs x="5" style="whitecolors" id="mytabs" width="${parent.width-10}" height="${parent.height-5}">
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Details
<view x="5" y="5" height="${immediateparent.height-10}" width="${immediateparent.width-10}">
<view>
<text fontstyle="bold" selectable="true">Account nummer:</text>
<text selectable="true" datapath="loginDS:/dbdata/data/account_id/text()"/>
<simplelayout axis="x"/>
</view>
<view>
<text fontstyle="bold" selectable="true">Pro nummer:</text>
<text selectable="true" datapath="loginDS:/dbdata/data/group_id/text()"/><text>-</text>
<text selectable="true" datapath="loginDS:/dbdata/data/reseller_id/text()"/>
<simplelayout axis="x"/>
</view>
<view>
<text fontstyle="bold">Rekening balans:</text>
<text datapath="loginDS:/dbdata/data/credit/text()" width="75"/>
<simplelayout axis="x"/>
</view>
<view>
<text selectable="true" fontstyle="bold">Persoonlijke gegevens:</text>
<text selectable="true" datapath="loginDS:/dbdata/data/fullname/text()" width="350"/>
<text selectable="true" datapath="loginDS:/dbdata/data/street/text()" width="350"/>
<text selectable="true" datapath="loginDS:/dbdata/data/postalcity/text()" width="350"/>
<text selectable="true" datapath="loginDS:/dbdata/data/country/text()" width="350"/>
<text selectable="true" datapath="loginDS:/dbdata/data/email/text()" width="350"/>
<text/>
<text selectable="true" datapath="loginDS:/dbdata/data/company/text()" width="350"/>
<text selectable="true" datapath="loginDS:/dbdata/data/vat/text()" width="350"/>
<simplelayout axis="y"/>
</view>
<view layout="axis:x; spacing:5" align="left">
<button isdefault="true">Download contract
<handler name="onclick">
canvas.downloadAgreement();
</handler>
</button>
</view>
<view layout="axis:x; spacing:5" align="left">
<button isdefault="true">Genereer contract
<handler name="onclick">
canvas.requestAgreement();
</handler>
</button>
</view>
<view layout="axis:x; spacing:5" align="left">
<button isdefault="true">Koop belwaarde
<handler name="onclick">
lz.Browser.loadURL("https://ssl.weepee.org/klanten/belwaarde", "_blank");
</handler>
</button>
</view>
<view layout="axis:x; spacing:5" align="left">
<button isdefault="true">Wijzig wachtwoord
<handler name="onclick">
canvas.changepwddialog.open();
</handler>
</button>
</view>
<view layout="axis:x; spacing:5" align="left">
<button isdefault="true">Wijzig e-mail adres
<handler name="onclick">
canvas.changeemaildialog.open();
</handler>
</button>
</view>
<simplelayout axis="y" spacing="15"/>
</view>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Informatie
<tabslider width="${parent.width-20}" height="${parent.height-45}">
<tabelement text="Account Informatie" selected="true">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true">
<text datapath="loginDS:/dbdata/data/accountinfo/text()" multiline="true" width="${parent.width}" height="250" selectable="true"/>
<view layout="axis:x; spacing:25" align="center">
<button isdefault="true">Reset User-Agent beveiliging
<handler name="onclick">
canvas.userResetUA();
</handler>
</button>
<button isdefault="true">Activeer eenmalige code voor automatische configuratie van uw Siemens Gigaset
<handler name="onclick">
canvas.userGetgigasetAP();
</handler>
</button>
</view>
<simplelayout axis="y" spacing="5"/>
</view>
</tabelement>
<tabelement text="Statistieken">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true">
<view layout="axis:x" align="left">
<text fontstyle="bold">Vertraging van uw verbinding in ms: </text>
</view>
<view layout="axis:x" align="left">
<image id="rtt" forcereload="true">
<handler name="onclick">
var ds=canvas.datasets.loginDS;
var dp = ds.getPointer();
dp.setXPath("loginDS:/dbdata/data/account_id/text()");
var accountid = dp.getNodeText();
this.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '.png');
</handler>
</image>
<image id="rttweek" forcereload="true">
<handler name="onclick">
var ds=canvas.datasets.loginDS;
var dp = ds.getPointer();
dp.setXPath("loginDS:/dbdata/data/account_id/text()");
var accountid = dp.getNodeText();
this.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-week.png');
</handler>
</image>
<image id="rttmonth" forcereload="true">
<handler name="onclick">
var ds=canvas.datasets.loginDS;
var dp = ds.getPointer();
dp.setXPath("loginDS:/dbdata/data/account_id/text()");
var accountid = dp.getNodeText();
this.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-month.png');
</handler>
</image>
<image id="rttyear" forcereload="true">
<handler name="onclick">
var ds=canvas.datasets.loginDS;
var dp = ds.getPointer();
dp.setXPath("loginDS:/dbdata/data/account_id/text()");
var accountid = dp.getNodeText();
this.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-year.png');
</handler>
</image>
<simplelayout axis="x" spacing="25"/>
</view>
<text multiline="true" width="${parent.width}">
Deze statistieken berekenen de latency (vertraging) van uw verbinding. De grafieken lopen steeds van 0 tot piek.<br/>De cijfers geven de huidige vertraging / piek vetraging aan in milliseconden.<br/>Indien uw router geen ICMP ondersteunt worden er geen statistieken getoond.<br/><br/>
Hoe minder beweging op de statistiek des te stabieler uw verbinging.<br/><br/>
<b>minder dan 50ms</b> perfecte verbinding<br/>
<b>minder dan 100ms</b> goede verbinding<br/>
<b>groter dan 100ms</b> slechte verbinding<br/>
<b>groter dan 200ms</b> barslechte verbinding<br/>
</text>
<simplelayout axis="y" spacing="5"/>
</view>
<handler name="oninit">
var ds=canvas.datasets.loginDS;
var dp = ds.getPointer();
dp.setXPath("loginDS:/dbdata/data/account_id/text()");
var accountid = dp.getNodeText();
rtt.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '.png');
rttweek.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-week.png');
rttmonth.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-month.png');
rttyear.setAttribute('src', 'https://ssl.weepee.org/api/icmp/' + accountid + '-year.png');
</handler>
</tabelement>
<tabelement id="shortnrs" text="Belangrijke Nummers">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true">
<text multiline="true" width="${parent.width}">
<font color="#FF0000"><b>NOOD NUMMER</b></font><br/>0903 42 704<br/><br/>
<font color="#FF0000"><b>TIJDENS KANTOOR UREN</b></font><br/>0800 26 1 26<br/><br/>
<b>1920</b> doorschakel instellingen (naar nummer/antwoordapparaat)<br/>
<b>1925</b> fax detectie deactiveren<br/>
<b>1926</b> fax detectie activeren<br/>
<b>1930</b> instellen/luisteren van het antwoordapparaat<br/>
<b>1935</b> nummer uitsturen deactiveren<br/>
<b>1936</b> nummer uitsturen activeren<br/>
<b>1940</b> echo<br/>
<b>1941</b> muziek<br/>
<b>1942</b> papegaai<br/>
<b>1950</b> rekening balans opvragen<br/>
<b>1960</b> voucher opladen<br/>
<b>1970</b> klantnummer opvragen<br/>
<b>1990</b> laatste beller<br/>
</text>
</view>
</tabelement>
<tabelement id="fwdconfig" text="Doorschakeling / Voicemail Instellingen">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<view layout="axis:x" align="left">
<text fontstyle="bold">Doorschakel configuratie: </text>
</view>
<view layout="axis:x" align="left">
<text valign="middle"><u>Gesprekken bij bezet of niet bereikbaar doorsturen naar:</u> (kunnen meerdere nummers zijn, gescheiden door een komma)</text>
</view>
<view layout="axis:x" align="left">
<edittext id="newforward" datapath="loginDS:/dbdata/data/forward/text()" width="150"/>
</view>
<view layout="axis:x" align="left">
<text valign="middle">Vul in met een telefoon nummer om bij bezet of niet bereikbaar door te schakelen naar een telefoon nummer!</text>
</view>
<view layout="axis:x" align="left">
<text valign="middle">Vul het woord 'VOICEMAIL' in om bij bezet of niet bereikbaar door te schakelen naar uw voicemail service!</text>
</view>
<view layout="axis:x" align="left">
<text valign="middle">Vul het woord 'BUSY' in om gewoonweg de bezet-toon te geven!</text>
</view>
<view layout="axis:x" align="left">
<text valign="middle"/>
</view>
<view layout="axis:x" align="left">
<text valign="middle"><u>Timeout tot voicemail/doorschakeling:</u></text>
</view>
<view layout="axis:x" align="left">
<edittext id="newforwardtimeout" datapath="loginDS:/dbdata/data/forwardtimeout/text()" width="150"/>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Wijzig
<handler name="onclick">
canvas.userChangeForward(newforward.getText(),newforwardtimeout.getText());
</handler>
</button>
</view>
<simplelayout axis="y" spacing="5"/>
</view>
</tabelement>
<tabelement id="cnconfig" text="Displayname Instellen">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<view layout="axis:x" align="left">
<text fontstyle="bold">Displayname instellen: </text>
</view>
<view layout="axis:x" align="left">
<text valign="middle">Door te sturen naam (aka Displayname) op ons VoIP netwerk:</text>
</view>
<view layout="axis:x" align="left">
<edittext id="newdisplayname" datapath="loginDS:/dbdata/data/displayname/text()" width="150"/>
</view>
<view layout="axis:x" align="left">
<text valign="middle">Vul in met een naam of andere identificatie (bedrijfsnaam, nickname), deze word meegestuurd naar de gesprekspartner op ons netwerk!</text>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Wijzig
<handler name="onclick">
canvas.userChangeDisplayname(newdisplayname.getText());
</handler>
</button>
</view>
<simplelayout axis="y" spacing="5"/>
</view>
</tabelement>
<tabelement id="skypeconfigtab" text="Skype integratie">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<view layout="axis:y" align="left">
<text>Enkel mogelijk met een skype business account! Deze kan je aanmaken via het skype business control panel!</text>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Skype Business
<handler name="onclick">
lz.Browser.loadURL("http://www.skype.com/intl/en/business/products/business-control-panel/", "_blank");
</handler>
</button>
</view>
<view layout="axis:x" align="left">
<text/>
</view>
<view layout="axis:x" align="left">
<text fontstyle="bold" width="170">Skypename: </text>
<edittext id="skypename" datapath="loginDS:/dbdata/data/skypename/text()" width="150"/>
</view>
<view layout="axis:x" align="left">
<text fontstyle="bold" width="170">Skype wachtwoord: </text>
<edittext id="skypepwd" datapath="loginDS:/dbdata/data/skypepwd/text()" width="150"/>
</view>
<view layout="axis:x" align="left">
<text/>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Maak aan
<handler name="onclick">
canvas.userChangeSkype(skypename.getText(),skypepwd.getText());
</handler>
</button>
<button isdefault="true">Verwijder
<handler name="onclick">
canvas.userChangeSkype('','');
</handler>
</button>
<simplelayout axis="x" spacing="35"/>
</view>
<view layout="axis:x" align="left">
<text fontstyle="bold" fontsize="12" datapath="loginDS:/dbdata/data/skypeonline/text()"/>
</view>
<view layout="axis:y" align="left">
<text>Het kan tot 10 minuten duren vooralleer de skype user online komt! Om de status update te kennen, gelieve uit de klantentool uit te loggen, en even terug in te loggen!</text>
</view>
<simplelayout axis="y" spacing="5"/>
</view>
</tabelement>
<tabelement id="skypeconfig" text="Twitter integratie">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<view layout="axis:y" align="left">
<text>Volg ons op twitter @weepeetelecom en we sturen je via prive berichtjes de gesmiste gesprekken ofwel twist-calls ;)</text>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Onze Twitter Pagina
<handler name="onclick">
lz.Browser.loadURL("http://twitter.com/weepeetelecom", "_blank");
</handler>
</button>
</view>
<view layout="axis:x" align="left">
<text/>
</view>
<view layout="axis:x" align="left">
<text fontstyle="bold" width="170">Twitteraccount: </text>
</view>
<view>
<edittext id="twittername" datapath="loginDS:/dbdata/data/twitter/text()" width="185"/>
</view>
<view layout="axis:x" align="left">
<button isdefault="true">Voeg toe
<handler name="onclick">
canvas.userChangeTwitter(twittername.getText());
</handler>
</button>
<button isdefault="true">Verwijder
<handler name="onclick">
canvas.userChangeTwitter('');
</handler>
</button>
<simplelayout axis="x" spacing="35"/>
</view>
<view layout="axis:x" align="left">
<text/>
</view>
<view layout="axis:y" align="left">
<text>Let op! Je moet ons eerst volgen alvorens we twist-calls kunnen sturen!</text>
</view>
<view layout="axis:y" align="left">
<text>Je kan ook meerdere twitter accounts toevoegen gescheiden door een komma!</text>
</view>
<simplelayout axis="y" spacing="5"/>
</view>
</tabelement>
<tabelement id="sipreturncodes" text="SIP Protocol Errorcodes">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true">
<text multiline="true" width="${parent.width}">
<b>SIP Protocol Error Returncodes:</b><br/><br/>
404 Not Found<br/>
503 Service Unavailable<br/>
408 Request Timeout<br/>
480 Temporarily unavailable<br/>
403 Forbidden<br/>
410 Gone<br/>
480 Temporarily unavailable<br/>
484 Address incomplete<br/>
486 Busy here<br/>
500 Server internal failure<br/>
501 Not Implemented<br/>
503 Service Unavailable<br/>
502 Bad Gateway<br/>
488 Not Acceptable Here<br/>
</text>
</view>
</tabelement>
<tabelement text="Inbel Nummer">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<text multiline="true" width="${parent.width}">
<font color="#FF0000"><b>INBEL NUMMER</b></font><br/>02 669 19 00<br/><br/>
Je kan onze diensten ook van buiten ons netwerk gebruiken, dit door via je klantcode en pin-code in te bellen op het inbel nummer<br/>
</text>
<text><b>Klantcode:</b></text>
<text datapath="loginDS:/dbdata/data/accountcode/text()" selectable="true"/>
<text selectable="true"><b>Pin:</b></text>
<text datapath="loginDS:/dbdata/data/pin/text()"/>
<button isdefault="true">Wijzig pin code
<handler name="onclick">
canvas.changepindialog.open();
</handler>
</button>
</view>
</tabelement>
<tabelement id="faxsoftware" text="Fax Software">
<view height="${immediateparent.height}" width="${immediateparent.width}" clip="true" layout="axis:y; spacing:5">
<text><b>Gebruikersnaam:</b></text>
<text datapath="loginDS:/dbdata/data/accountcode/text()" selectable="true"/>
<text><b>Wachtwoord:</b></text>
<text datapath="loginDS:/dbdata/data/faxpasswd/text()" selectable="true"/>
<text><b>Fax Server:</b></text>
<text datapath="loginDS:/dbdata/data/faxserver/text()" selectable="true"/>
<text><b>Commerciële versie:</b></text>
<button isdefault="true">HylaFAX-client (windows)
<handler name="onclick">
lz.Browser.loadURL("http://www.swt-online.de/hylafax/index_eng.html", "_blank");
</handler>
</button>
<button isdefault="true">MacHylafax (macosx)
<handler name="onclick">
lz.Browser.loadURL("http://machylafax.webcogs.com/", "_blank");
</handler>
</button>
</view>
</tabelement>
</tabslider>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Uitgaande Gesprekken
<simplelayout axis="y" spacing="5"/>
<view width="100%">
<view layout="axis:x" align="left" valign="top">
<text fontstyle="bold">Maand: </text>
<datacombobox id="callsoutmonth" width="150" shownitems="5" itemdatapath="lastyearDS:/dbdata/data" textdatapath="description/text()" valuedatapath="month/text()" selectfirst="true">
<handler name="onselected">
canvas.searchCallsout(callsoutmonth.getValue(), "");
</handler>
</datacombobox>
</view>
<view layout="axis:x" align="right" valign="top">
<edittext id="callsoutsearch" width="150"/>
<button isdefault="true">Zoek
<handler name="onclick">
canvas.searchCallsout(callsoutmonth.getValue(), callsoutsearch.getValue());
</handler>
</button>
<simplelayout axis="x" spacing="5"/>
</view>
</view>
<grid id="callsout" width="${parent.width-20}" height="${parent.height-80}" bgcolor0="$once{whitecolors.basecolor}" datapath="callsoutDS:/dbdata" sizetoheader="false">
<handler name="ondata">
canvas.gridCallsout=1;
canvas.checkGridData();
</handler>
<gridcolumn width="${parent.width/7}" sortable="true">Wanneer
<text width="${parent.width}" datapath="timestamp/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Bestemming
<text width="${parent.width}" datapath="country/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Nummer
<text width="${parent.width}" datapath="callee/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Duur
<text width="${parent.width}" datapath="billsec/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Prijs
<text width="${parent.width}" datapath="price_out/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Setup
<text width="${parent.width}" datapath="setup_out/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/7}" sortable="true">Type
<text width="${parent.width}" datapath="type/text()"/>
</gridcolumn>
</grid>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Inkomende Gesprekken
<simplelayout axis="y" spacing="5"/>
<view width="100%">
<view layout="axis:x" align="left" valign="top">
<text fontstyle="bold">Maand: </text>
<datacombobox id="callsinmonth" width="150" shownitems="5" itemdatapath="lastyearDS:/dbdata/data" textdatapath="description/text()" valuedatapath="month/text()" selectfirst="true">
<handler name="onselected">
canvas.searchCallsin(callsinmonth.getValue(), "");
</handler>
</datacombobox>
</view>
<view layout="axis:x" align="right" valign="top">
<edittext id="callsinsearch" width="150"/>
<button isdefault="true">Zoek
<handler name="onclick">
canvas.searchCallsin(callsinmonth.getValue(), callsinsearch.getValue());
</handler>
</button>
<simplelayout axis="x" spacing="5"/>
</view>
</view>
<grid id="callsin" width="${parent.width-20}" height="${parent.height-80}" bgcolor0="$once{whitecolors.basecolor}" datapath="callsinDS:/dbdata" sizetoheader="false">
<handler name="ondata">
canvas.gridCallsin=1;
canvas.checkGridData();
</handler>
<gridcolumn width="${parent.width/6}" sortable="true">Wanneer
<text width="${parent.width}" datapath="timestamp/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/6}" sortable="true">Wie
<text width="${parent.width}" datapath="callerid/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/6}" sortable="true">Nummer
<text width="${parent.width}" datapath="clid/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/6}" sortable="true">Naar
<text width="${parent.width}" datapath="callee/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/6}" sortable="true">Duur
<text width="${parent.width}" datapath="billsec/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/6}" sortable="true">Type
<text width="${parent.width}" datapath="type/text()"/>
</gridcolumn>
</grid>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Korte Nummers
<simplelayout axis="y" spacing="5"/>
<view width="${parent.width-20}">
<simplelayout axis="y" spacing="7"/>
<view layout="axis:x" align="left" width="800" valign="top">
<text multiline="true" width="${parent.width}">Hier kan men verkorte nummers ingeven ... <br/><br/>
Om naar skype users te bellen vormt men skype#username, om naar skype user echo123 te bellen vult men in: skype#echo123<br/><br/></text>
<simplelayout axis="y" spacing="5"/>
</view>
</view>
<view width="${parent.width-20}">
<view layout="axis:x" align="right">
<edittext id="qdshort" width="30" visible="false"/>
<text fontsize="14">Bestemming:</text>
<edittext id="qdnumber" width="150"/>
<text fontsize="14">Beschrijving:</text>
<edittext id="qdname" width="150"/>
<button isdefault="true">Wijzig
<handler name="onclick">
canvas.quickdialChange(qdshort.getText(), qdnumber.getText(), qdname.getText());
</handler>
</button>
<simplelayout axis="x" spacing="7"/>
</view>
<view layout="axis:x" align="left">
<text>Selecteer om gegevens te wijzigen:</text>
</view>
</view>
<grid id="quickdial" width="${parent.width-20}" height="${parent.height-150}" bgcolor0="$once{whitecolors.basecolor}" datapath="quickdialDS:/dbdata" sizetoheader="false" multiselect="false">
<handler name="ondata">
canvas.gridShorts=1;
canvas.checkGridData();
</handler>
<handler name="onselect">
var dp = this.getSelection();
dp.setXPath("short/text()");
qdshort.setAttribute("text",dp.getNodeText());
dp = this.getSelection();
dp.setXPath("number/text()");
qdnumber.setAttribute("text",dp.getNodeText());
dp = this.getSelection();
dp.setXPath("name/text()");
qdname.setAttribute("text",dp.getNodeText());
</handler>
<gridcolumn width="${parent.width/3}">Verkort Nummer
<text width="${parent.width}" datapath="short/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/3}">Bestemming
<text width="${parent.width}" datapath="number/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/3}">Beschrijving
<text width="${parent.width}" datapath="name/text()"/>
</gridcolumn>
</grid>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Telefoon Nummers
<simplelayout axis="y" spacing="5"/>
<view width="100%">
<simplelayout axis="x" spacing="5"/>
<view layout="axis:x" align="left">
<button isdefault="true">Vraag nieuw nummer aan
<handler name="onclick">
canvas.newnumberdialog.open();
</handler>
</button>
</view>
<view layout="axis:x" align="right">
<button isdefault="true">Vraag nummer overdracht aan
<handler name="onclick">
lz.Browser.loadURL("https://portins.voice.weepee.io/", "_blank");
</handler>
</button>
</view>
</view>
<grid id="numbers" width="${parent.width-20}" height="${parent.height-80}" bgcolor0="$once{whitecolors.basecolor}" datapath="numbersDS:/dbdata" sizetoheader="false">
<handler name="ondata">
canvas.gridNumbers=1;
canvas.checkGridData();
</handler>
<gridcolumn width="${parent.width/2}" sortable="true">Nummer
<text width="${parent.width}" datapath="caller_id/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/2}" sortable="true">Type
<text width="${parent.width}" datapath="numbertype/text()"/>
</gridcolumn>
</grid>
</tabpane>
<tabpane bgcolor="#FFFFFF" width="${parent.width}" height="${parent.height}">Belwaarde
<simplelayout axis="y" spacing="5"/>
<view width="100%">
<simplelayout axis="x" spacing="5"/>
<view layout="axis:x" align="left" valign="top">
<button isdefault="true">Koop belwaarde
<handler name="onclick">
lz.Browser.loadURL("https://ssl.weepee.org/klanten/belwaarde", "_blank");
</handler>
</button>
</view>
<view layout="axis:x" align="right" valign="top">
<edittext id="vouchercode" width="150"/>
<button isdefault="true">Verzilver voucher
<handler name="onclick">
canvas.activateVoucher(vouchercode.getValue());
</handler>
</button>
<simplelayout axis="x" spacing="5"/>
</view>
</view>
<grid id="usedvouchers" width="${parent.width-20}" height="${parent.height-80}" bgcolor0="$once{whitecolors.basecolor}" datapath="usedvouchersDS:/dbdata" sizetoheader="false">
<handler name="ondata">
canvas.gridVouchers=1;
canvas.checkGridData();
</handler>
<gridcolumn width="${parent.width/3}" sortable="true">Voucher
<text width="${parent.width}" datapath="vouchercode/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/3}" sortable="true">Bedrag (€)
<text width="${parent.width}" datapath="amount/text()"/>
</gridcolumn>
<gridcolumn width="${parent.width/3}" sortable="true">Bijgeladen op
<text width="${parent.width}" datapath="usedon/text()"/>
</gridcolumn>
</grid>
</tabpane>
</tabs>
</view>
</view>
</library>
Cross References
Named Instances