From: d@teklibre.org (Dave Täht)
To: Peter Jones <mlists@pmade.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org-invoice question
Date: Mon, 21 Sep 2009 11:30:46 -0600 [thread overview]
Message-ID: <871vm0ryrd.fsf@mahal.sjds.teklibre.org> (raw)
In-Reply-To: <86vdjcp6c7.fsf@pmade.com> (Peter Jones's message of "Mon, 21 Sep 2009 11:15:20 -0600")
Peter Jones <mlists@pmade.com> writes:
> d@teklibre.org (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
next prev parent reply other threads:[~2009-09-21 17:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-15 21:21 Documentation wishlist items Ethan
2009-09-15 23:56 ` Sean Sieger
2009-09-16 3:20 ` Sebastian Rose
2009-09-16 9:46 ` Bastien
2009-09-16 9:54 ` Greg Newman
2009-09-16 10:04 ` timetrap
2009-09-16 12:17 ` Jean-Marie Gaillourdet
2009-09-16 12:56 ` Peter Frings
2009-09-16 9:49 ` Bastien
2009-09-16 14:10 ` Sebastian Rose
2009-09-16 16:03 ` Matt Lundin
2009-09-16 12:46 ` Matt Lundin
2009-09-16 3:34 ` Matt Lundin
2009-09-16 11:37 ` Bernt Hansen
2009-09-16 15:33 ` Ethan
2009-09-16 16:32 ` Matthew Lundin
2009-09-16 18:42 ` tycho garen
2009-09-18 15:02 ` org-invoice question Dave Täht
2009-09-21 17:15 ` Peter Jones
2009-09-21 17:30 ` Dave Täht [this message]
2009-09-18 15:19 ` org-examples.git? Dave Täht
2009-09-18 17:00 ` org-examples.git? Matt Lundin
2009-09-16 9:42 ` Documentation wishlist items Bastien
2009-09-17 3:46 ` Matt Lundin
2009-09-17 17:34 ` Ethan
2009-09-17 19:30 ` Matthew Lundin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vm0ryrd.fsf@mahal.sjds.teklibre.org \
--to=d@teklibre.org \
--cc=emacs-orgmode@gnu.org \
--cc=mlists@pmade.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).