From d5952b32bc69c58a317ffd9568baf73520badf4a Mon Sep 17 00:00:00 2001 From: Jordan Walsh Date: Thu, 2 Mar 2017 11:11:15 +1100 Subject: [PATCH] Added support for the remaining endpoints to sample app --- oauth_test/assets/css/dashboard.css | 1 + oauth_test/invoice.pdf | Bin 20958 -> 0 bytes oauth_test/sample_app.js | 42 ++++++++++++++++++ oauth_test/views/banktransfers.handlebars | 2 - oauth_test/views/index.handlebars | 12 ++--- oauth_test/views/items.handlebars | 4 +- oauth_test/views/journals.handlebars | 19 ++++++++ oauth_test/views/organisations.handlebars | 19 ++++++++ oauth_test/views/partials/nav.handlebars | 11 +++-- oauth_test/views/payments.handlebars | 29 ++++++++++++ .../views/trackingcategories.handlebars | 15 +++++++ 11 files changed, 138 insertions(+), 16 deletions(-) delete mode 100644 oauth_test/invoice.pdf create mode 100644 oauth_test/views/journals.handlebars create mode 100644 oauth_test/views/organisations.handlebars create mode 100644 oauth_test/views/payments.handlebars create mode 100644 oauth_test/views/trackingcategories.handlebars diff --git a/oauth_test/assets/css/dashboard.css b/oauth_test/assets/css/dashboard.css index 169fe52e..d1b98d07 100644 --- a/oauth_test/assets/css/dashboard.css +++ b/oauth_test/assets/css/dashboard.css @@ -71,6 +71,7 @@ body { .nav-sidebar>li>a { padding-right: 20px; padding-left: 20px; + font-size: 0.9em; } .nav-sidebar>.active>a, diff --git a/oauth_test/invoice.pdf b/oauth_test/invoice.pdf deleted file mode 100644 index 54b2dceeab640a947e418bc356220c47ebd0d7fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20958 zcmbWf2S8Lu)HXbG?{-*NU}2Z$E-Zb)U3w8=sTM?0Q9(sPScQnxMX_S+V#D4QOO&Y5 zWwC&YVvW5du{UC@QKCj;i?IKh3$`Th`+eVkVdhLZ&y+JWXU?6w_qry<#{2lT4;H$f zXuX8Kaa7G`~pRzI$A9gl_Qq;6^Ru+7ZrZ$Ix@@_x zUqnQ)4jMQ@P`c_juX_R(!uQY>BF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Zoh4=PfKbCl;*r`=GF5uV)Hj< zWev{@7@^XO?$&i(M#bKY2T~`bwroAybLCh;vLMK2cK(aoKlS(Mc|x_n{!+&9 zTS31B{jvK{(~=uocb9n&k)(MBDYtt}7<|~P?$5>V`Yj&p^GD~KzA4}I-dpBA)II;< ziS`fErk~z;`tqVV&&+P#O6{&vd6n%Nc7M%j>%P_{WBFsJj_stRz4mS0xn*SE`W@Z3 zx7%L0HD^bk?Y9PXI5@BV+3^WWn@5y*l^iR1W>#Q+^ZPg3pXFZ2sS249x@`ROE}2=G z#w)XTtXwHxS-vvD;jW`yM~5-BJFe}ntBb4qZl`sg_3rMnnH`Fn?dRq1y)pa7?>BOq zj&(ZJ^Vf@;?;J1dP;|za@~rUqi`~z59^BegsS}q(udZ8NlXfy~!!6%iG43C_zj__= zN;fY5&*pUte|I0={p1?2j)@^@1!G>ES>azi%>VqkRS99ixAz&|w7h%ta?ktd_Z-#R z!L_=JPwu{(aHYk6se@|u{@k*6N3D-9-o7=cUkC0sZrB8U%eu@9L-j9LH0}E1$;c~X zr!6sEec;z|zuionw^EY-?)KiW{kqa@mm&AgHPznOFzV{4O@C~YbIdQ8 zm$&QMaa-xe4^_W*YL?yTG$OvooYAv|;bvpUm8}YFdAfPq+S@(E;ZBj?FH2sTyT-6A zEVLa z;Paast~}l$c`)m?$Nta{OJ3|Yrv0+-rXF9yGv^78M0 zTf5A+w7z~-J2dq3w}qbVI~X2W3ZE_-uGPthz?qB^l4Mw^|} zc}$VE_n7Xrh7J>RJQ2IT7J1!v872WU2lMf;fD6BUk%>4{u`!U?%y*T7FS0w70hKf2x_u zA~k;kfEdF*epD@@^`mS5`lwns8Kuu$;V?#F%tzg{hUZUJ!gu - ID Transfer Date From Acct Name To Acct Name @@ -11,7 +10,6 @@ {{#each bankTransfers}} - {{ this.BankTransferID }} {{ this.Date }} {{ this.FromBankAccount.Name }} (ref) {{ this.ToBankAccount.Name }} (ref) diff --git a/oauth_test/views/index.handlebars b/oauth_test/views/index.handlebars index 0415c171..4c77d9e4 100644 --- a/oauth_test/views/index.handlebars +++ b/oauth_test/views/index.handlebars @@ -6,8 +6,7 @@
  • Public
  • Partner
  • -

    - Features

    +

    Features

    The following endpoints are supported:

    • Accounts
    • @@ -28,12 +27,10 @@
    • Search (using ‘where’ clause)
    • Efficient pagination with callbacks
    -

    - Installation

    +

    Installation

    $ npm install xero-node --save
     
    -

    - External Config

    +

    External Config

    This SDK requires the config to be externalised to ensure private keys are not committed into your codebase by mistake.

    The config file should be set up as follows:

    {
    @@ -44,8 +41,7 @@
         "RunscopeBucketId" : "xxxyyyzzzz"
     }
     
    -

    - Config Parameters

    +

    Config Parameters

    diff --git a/oauth_test/views/items.handlebars b/oauth_test/views/items.handlebars index ac3e67ca..fa60f31a 100644 --- a/oauth_test/views/items.handlebars +++ b/oauth_test/views/items.handlebars @@ -2,7 +2,6 @@
    - @@ -11,8 +10,7 @@ {{#each items}} - - + diff --git a/oauth_test/views/journals.handlebars b/oauth_test/views/journals.handlebars new file mode 100644 index 00000000..3028aab8 --- /dev/null +++ b/oauth_test/views/journals.handlebars @@ -0,0 +1,19 @@ +

    Journals

    +
    ID Code Description Cost Price
    {{ this.ItemID }}{{ this.Code }}{{this.Code }} {{ this.Description }} {{ this.PurchaseDetails.UnitPrice }} {{ this.SalesDetails.UnitPrice }}
    + + + + + + + + + {{#each journals}} + + + + + + + {{/each}} +
    NumberJournal DateReference# Lines
    {{ this.JournalNumber }}{{ this.JournalDate }}{{ this.Reference }}{{ this.JournalLines.length }}
    \ No newline at end of file diff --git a/oauth_test/views/organisations.handlebars b/oauth_test/views/organisations.handlebars new file mode 100644 index 00000000..77b7973d --- /dev/null +++ b/oauth_test/views/organisations.handlebars @@ -0,0 +1,19 @@ +

    Organisations

    + + + + + + + + + + {{#each organisations}} + + + + + + + {{/each}} +
    NameVersionIsDemoCompanyOrganisationStatus
    {{this.Name}}{{ this.Version }}{{ this.IsDemoCompany }}{{ this.OrganisationStatus }}
    \ No newline at end of file diff --git a/oauth_test/views/partials/nav.handlebars b/oauth_test/views/partials/nav.handlebars index 53b9d9d5..0c4b32d6 100644 --- a/oauth_test/views/partials/nav.handlebars +++ b/oauth_test/views/partials/nav.handlebars @@ -1,16 +1,21 @@ \ No newline at end of file diff --git a/oauth_test/views/payments.handlebars b/oauth_test/views/payments.handlebars new file mode 100644 index 00000000..ae592e10 --- /dev/null +++ b/oauth_test/views/payments.handlebars @@ -0,0 +1,29 @@ +

    Payments

    + + + + + + + + + + {{#each payments}} + + {{#ifCond this.Invoice.Type '==' 'ACCREC'}} + + {{else}} + + {{/ifCond}} + + + + + {{/each}} +
    DateContact NameStatusAmount
    + {{this.Date}} + + + {{this.Date}} + + {{this.Invoice.Contact.Name}} {{this.Status}} {{this.Amount}}
    \ No newline at end of file diff --git a/oauth_test/views/trackingcategories.handlebars b/oauth_test/views/trackingcategories.handlebars new file mode 100644 index 00000000..774f6dd4 --- /dev/null +++ b/oauth_test/views/trackingcategories.handlebars @@ -0,0 +1,15 @@ +

    Tracking Categories

    + + + + + + + + {{#each trackingcategories}} + + + + + {{/each}} +
    NameStatus
    {{ this.Name }}{{ this.Status }}
    \ No newline at end of file