emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: org-invoice question


From: Dave Täht
Subject: Re: [Orgmode] Re: org-invoice question
Date: Mon, 21 Sep 2009 11:30:46 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Peter Jones <address@hidden> writes:

> address@hidden (Dave Täht) writes:
>> So I cribbed and modified the org-invoice from the code example and
>> tried to make it work.  I guess it needs the CLOCKSUM properties
>> generated, which I don't quite know how to do, or something else I am
>> missing to generate the summaries.
>
> CLOCKSUM properties are generated on the fly from CLOCK lines by
> org-mode.  The alternative, as you have figured out, is to use a
> property called WORK.  This is the approach I personally use so that I
> can round task times to the nearest 15 minutes.

Well, in my case I would rather like to get a rough total via clocksum 
so I will play with it. Perhaps CLOCK: also was once upon a time :CLOCK:?
(See below)

>
>> Presentation-wise I have other issues with it, but I'll settle for
>> making it work first:
>>
>> * Client Bar 
>> :PROPERTIES: 
>> RATE: 95.00
>> :END:
>> *** DONE [2008-01-01 Tue] Searched for Widgets on Google
>>     :PROPERTIES:
>>     RATE: 25.00
>>     WORK: 20:00
>>     :END:
>> *** [2008-01-02 Wed] Billed You for Taking a Nap
>
> The properties need to begin and end with a colon.  Try changing "RATE:"
> and "WORK:" to ":RATE:" and ":WORK:".

Thank you. That worked better. It even picked up on my LANG variable. Didn't
pick up on the CLOCK line.

* Invoices
:PROPERTIES:
:RATE: 40.00
:END:
** Client Foo 
*** DONE Built New Server for Production
    CLOSED: [2009-09-18 Fri 08:30]
    :LOGBOOK:
    - State "DONE"       from "STARTED"    [2009-09-18 Fri 08:30]
    - State "STARTED"    from "STARTED"    [2009-09-18 Fri 07:00]
      CLOCK: [2009-09-18 Fri 07:00]--[2009-09-18 Fri 08:19] =>  1:19
    :END:
    :PROPERTIES:
    :Effort:   10
    :END:
*** [2009-09-17 Thu] Meeting with Team to Design New System
    :PROPERTIES:
    :WORK: 3:00
    :END:
**** Invoice
#+BEGIN: invoice
| Task / Date                            | Time |  Price |
|----------------------------------------+------+--------|
| DONE Built New Server for Production   | 0:00 |   0.00 |
|----------------------------------------+------+--------|
| jueves, septiembre 17, 2009            | 3:00 | 120.00 |
| Meeting with Team to Design New System | 3:00 | 120.00 |
| Invoice                                | 0:00 |   0.00 |
|----------------------------------------+------+--------|
| Total:                                 | 3:00 | 120.00 |

#+END:
* Client Bar 
:PROPERTIES: 
:RATE: 95.00
:END:
*** DONE [2008-01-01 Tue] Searched for Widgets on Google
    :PROPERTIES:
    :RATE: 25.00
    :WORK: 20:00
    :END:
*** [2008-01-02 Wed] Billed You for Taking a Nap
*** Invoice
#+BEGIN: invoice
| Task / Date                          |  Time |  Price |
|--------------------------------------+-------+--------|
| martes, enero 01, 2008               | 20:00 | 500.00 |
| DONE  Searched for Widgets on Google | 20:00 | 500.00 |
|--------------------------------------+-------+--------|
| miércoles, enero 02, 2008            |  0:00 |   0.00 |
| Billed You for Taking a Nap          |  0:00 |   0.00 |
|--------------------------------------+-------+--------|
| Total:                               | 20:00 | 500.00 |

#+END:

-- 
Dave Taht
http://the-edge.blogspot.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]