[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpcompta-contrib] True periods
From: |
Skipper |
Subject: |
Re: [Phpcompta-contrib] True periods |
Date: |
Thu, 15 Apr 2010 13:18:41 +0200 |
Btw, is there a way to know the ending balance of the _previous_ period of an
account? Or, to complicate things, the opening balance of a new excercise?
These two number would further improve the usefulness of this GL.
For sales and purchases, I would also like to show the PayƩ status. This is
possibly not easily doable, but maybe you have an idea.
Thanks,
Skipper
On Thu, 15 Apr 2010 12:54:57 +0200
Dany DeBontridder <address@hidden> wrote:
> On Thu, Apr 15, 2010 at 1:07 AM, Skipper <address@hidden> wrote:
>
> >
> > Excellent, thanks!
> >
> > You may remember my request for a different layout of the Grand Livre on
> > the forum. Well, the first part is almost ready. I have sent the "Grand
> > Livre par comptes" to my accountant for validation of the format, and, if he
> > is ok, I will finish the csv export.
> >
>
> Excellent, it was often asked. Have you used fpdf or the old ros library ?
>
>
> >
> > Then, I will prepare a context-diff against build 2997 of phpcompta, I hope
> > this is ok for you. I needed to make some changes to existing phpcompta
> > files, but nothing serious, and nothing that should break things.
> >
>
> By the way, you can access anonymouly the svn repository, you can't write of
> course, but it is the release branches with bug fixes (build 3014), it will
> be easier to make a diff and avoid conflicts.
>
> it is
> svn --username toto co
> https://www.phpcompta.eu/svn/phpcompta/branches/rel500
>
> So for a diff you type
>
> svn diff
>
> After your email, I created a new function Periode::last_day () exactly the
> same as Periode::first_day() but for the last day of a periode
>
>
>
>
>
> >
> > I will then write the Livre d'Achat and Livre de Vente, ordered by buyers
> > and sellers respectively, but with a similar layout.
> >
> > Keeping my fingers crossed ...
> > Skipper
> >
> > So do I :-)
>
>
> Cheers
>
>
> D..
>
>
> >
> > On Wed, 14 Apr 2010 18:42:48 +0200
> > Dany DeBontridder <address@hidden> wrote:
> >
> > > Yes you use
> > >
> > > Periode::get_limit($p_exercice)
> > >
> > >
> > http://www.phpcompta.be/doc/classPeriode.html#ec87d060d342925c34ec5c14850f55dc
> > >
> > > example
> > >
> > > $cn=new Database(dossier::id());
> > > $periode=new Periode($cn);
> > > $a=$periode->get_limit(2009);
> > > // $a is an array
> > > $first_day=$a[0]->first_day();
> > > $last_periode=$a[1]->get_date_limit();
> > >
> > > //Date
> > > echo "first day of the exercice is ".$first_periode;
> > > echo "last day of the exercice is ".$last_periode['p_end']
> > >
> > >
> > > regards,
> > >
> > > D..
> > >
> > > On Wed, Apr 14, 2010 at 5:00 PM, Skipper <address@hidden> wrote:
> > >
> > > > Hi Dany,
> > > >
> > > > is there a way to get the real first and last period of an excercise?
> > There
> > > > is some code that reads (simplified)
> > > > <snip>
> > > > $year=$User->get_exercice();
> > > > $date_from->value="01.01.".$year;
> > > > </snip>
> > > >
> > > > But this is obviously wrong for excerises that do not correspond with
> > > > calendar years.
> > > >
> > > > Any hint?
> > > >
> > > > Thanks,
> > > > Skipper
> > > >
> > > >
> > > > _______________________________________________
> > > > Phpcompta-contrib mailing list
> > > > address@hidden
> > > > http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib
> > > >
> > > >
> >
> >
> > _______________________________________________
> > Phpcompta-contrib mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib
> >
> >
- [Phpcompta-contrib] True periods, Skipper, 2010/04/14
- Re: [Phpcompta-contrib] True periods, Dany DeBontridder, 2010/04/14
- Re: [Phpcompta-contrib] True periods, Skipper, 2010/04/14
- Re: [Phpcompta-contrib] True periods, Dany DeBontridder, 2010/04/15
- Re: [Phpcompta-contrib] True periods,
Skipper <=
- Re: [Phpcompta-contrib] True periods, Dany DeBontridder, 2010/04/15
- Re: [Phpcompta-contrib] True periods, Dany DeBontridder, 2010/04/15
- Re: [Phpcompta-contrib] True periods, Dany DeBontridder, 2010/04/16
- Re: [Phpcompta-contrib] True periods, Skipper, 2010/04/18
- Re: [Phpcompta-contrib] True periods, Alain Vaugham, 2010/04/15