Direct purchase order

Thanks Jon for your reading, and for all that useful suggestions... Wow,
you really take your time to read all of that. Thank you

2014-12-16 10:28 GMT+01:00 Jonathan Niles <notifications@github.com>:
>
> In client/src/partials/purchase/view/purchase_records.js
> <https://github.com/IMA-WorldHealth/bhima/pull/198#discussion-diff-21885680>
> :
>
> >        };
> >
> > -      return connect.req(requette);
> > +      var d = connect.req(direct);
> > +      var i = connect.req(indirect);
> > +      return $q.all([d,i]).then(function (result) { return result; });
>
> I don't think the .then() does anything here. Can you just return $q.all([d
> , i])?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/IMA-WorldHealth/bhima/pull/198/files#r21885680>.
>