phpBMS

Ticket #364 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Custom "Extended" field.

Reported by: vlad@… Owned by:
Priority: minor Milestone: unknown
Component: phpbms Version: 0.96
Keywords: Cc:

Description

Hello, I've been trying your online-demo and I can't describe how amazing is your software.

However I have a problem, my business is kind of unusual, I have a florist' shop but most of the time I put the prices at sale time.

Lets put an example: I have a dozen of roses, I enter them as 12 flowers in the inventory.

I sell a dozen of such flowers at $8, which would be Unit Price = $0.66.

Problem is when I sell only 6 flowers, in which case the price is $5 (not $0.66 * 6 = ~$4.00).

So, I will have to calc $5/6 to get the correct Unit Price, instead of just setting the Extented (Total Price) to $6 and phpBMS doing the calc.

In brief I request for a way in which I can specify Quantity and Total Price and Unit Price being calculated by phpBMS.

Thank you.

Attachments

0002-Add-JS-calculateExtendedRev.patch Download (4.0 KB) - added by vlad@… 2 years ago.
Patch to enable editing of extended field.

Change History

Changed 2 years ago by anonymous

By the way, what I'm talking about is something like how "cost and weight" works.

I'm even thinking in an easy solution for now to enable the Total Price (extended field) and set an JS onBlur() event that updates the Unit Price. Could this be part of phpBMS?, it would be really good addition.

I'll send the patch for 0.96 (even if it's such a small modification, but it's because I don't like just to ask for things being done).

Changed 2 years ago by vlad@…

Patch to enable editing of extended field.

Changed 2 years ago by anonymous

There's the patch, it works as I requested. Code is duplicated and ugly but it works for anyone who wants that functionality like me.

Sorry, it's a GIT patch, and it's for phpbms 0.96.

Changed 2 years ago by brieb

  • status changed from new to assigned

Changed 2 years ago by brieb

  • owner brieb deleted
  • status changed from assigned to new
Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.