Jump to content



Photo
- - - - -

Margin Report v2.10


  • Please log in to reply
240 replies to this topic

#1   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 23 June 2004 - 14:16

Announcement: http://forums.oscomm...showtopic=98823
Chris Sullivan

#2   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 23 June 2004 - 16:17

Geeez! Now that was quick. Thanks, I'm going to try the update now.

Catdad

#3   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 23 June 2004 - 16:28

Chris,

Weekly works great, but Semi-Annual is still not quite right. Now it shows sales for the next Semi-Anual period starting July.

Thanks again,
CatDad

#4   chaicka

chaicka
  • Members
  • 55 posts
  • Real Name:Anthony

Posted 23 June 2004 - 16:30

Chris,

Weekly works great, but Semi-Annual is still not quite right. Now it shows sales for the next Semi-Anual period starting July.

Thanks again,
CatDad

Yup, got the same problem.

You have any idea how to fix the font and font size of the prices, costs (numbers) in the margin_report.php? Mine is all bigger in size and thus makes printing it appears weird and not that presentable.

Edited by chaicka, 23 June 2004 - 16:32.


#5   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 23 June 2004 - 17:45

Chris, Chaicka,

I've looked at the two files for the font problem, but I don't see anything obviuos. But I'll keep looking and you know if I do find anything. On my system I only have the font issue on the initial page. All the other reports are fine. Is yours the same way?

Is it possible to get an export of each report as well as the whole catalog?

Chris, I ran the initial report this morning and sorted on margin. I found two items in my catalog selling for less than cost! I made a typo when I added the items and never caught it. Big Thanks to you for this contribution, I was able to find the problem before a customer found it.

Thanks again,
CatDad

#6   jamaicasearch

jamaicasearch
  • Members
  • 72 posts
  • Real Name:Everton johnson

Posted 24 June 2004 - 12:02

to correct the LARGE FONT PROBLEM please change <td'; to <td class="smallText"'; on line 46 in admin/margin_report.php

#7   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 24 June 2004 - 16:50

Fixed font issues and semi-annual issues.

To upgrade simply replace admin/margin_report.php and admin/margin_report2.php.

HTH,
-Chris
Chris Sullivan

#8   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 24 June 2004 - 22:48

Anybody looked at this? Is that what you wanted?
Chris Sullivan

#9   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 24 June 2004 - 23:19

Thanks Chris. Everything works. Great contribution.

Thanks again,
CatDad

#10   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 25 June 2004 - 00:08

No problem. Glad you like it.

-Chris
Chris Sullivan

#11   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 25 June 2004 - 15:12

I will look at the ability to export time-based reports.

Does anyone else have any requests?

-Chris
Chris Sullivan

#12   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 25 June 2004 - 23:43

Guess not. My work here is done.
Chris Sullivan

#13   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 25 June 2004 - 23:54

Chris,

I've been busy with edits all day and didn't get to your last message.

I would love to have time based reports. But even without them, this contrib is one of the most useful tools I have, and I have a lot .

There are is something else that could be added in addition to the time based reports, downable exports. Something that would allow me to save the reports on my PC and not on the server.

Thanks again for an excelent contrib. Keep em comming.
CatDad

Edited by Johnson, 17 October 2004 - 03:43.


#14   CatDadRick

CatDadRick
  • Members
  • 279 posts
  • Real Name:Rick Knight

Posted 26 June 2004 - 20:06

Chris,

Hope your still here.

I thought of another handy addition to your Margin Module. Period selection. For example, with a current date of June 26, I would like to pull up a Margin report for May.

Thanks again,
CatDad

#15   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 26 June 2004 - 20:32

Hey. I just put the finishing touches on exporting the reports. It works great, and looks good too. /smile.gif' class='bbc_emoticon' alt=':)' />

I will look into a date selection method and see how that develops. As I'm doing that (shouldn't take too long) any other ideas?

Thanks.
-Chris
Chris Sullivan

#16   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 27 June 2004 - 01:31

Ok. I've just released version 2.5.

I think you all will really like this...as it's got a lot more to it than the past releases.

Now reports can be made for various periods based on preset values (daily, weekly, monthly, quarterly, semi-annually, annually) as well as any dates you would like (you can select a start date and an end date).

These reports can now be automatically downloaded to your local machine (instead of the server) as excel files. Hope everyone likes it...I have also added a donations button. If you find this contribution useful and would like to make a donation...the means are now there.

Thanks.
-Chris
Chris Sullivan

#17   mijman2

mijman2
  • Members
  • 229 posts
  • Real Name:Steve

Posted 27 June 2004 - 03:47

couple things:

none of the export buttons show up

then optionally: remove donations button (sorry but it is just annoying... If some one wants to donate they will go into the original file and find a link or file...)I realize it is nice to be rewarded for a contribute but maybe gone a little far?

my 2 cents

G8 contrib...

#18   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 27 June 2004 - 05:38

In order to fix the export button problem, you can simply remove
DIR_FS_ADMIN .
from margin_report.php (line 643) and margin_report2.php (line 262). I have updated the files, and uploaded the fixed version.

Anything else?
-Chris

Edited by blueline, 27 June 2004 - 05:39.

Chris Sullivan

#19   chaicka

chaicka
  • Members
  • 55 posts
  • Real Name:Anthony

Posted 27 June 2004 - 14:28

to correct the LARGE FONT PROBLEM please change <td'; to <td class="smallText"'; on line 46 in admin/margin_report.php


I used this fix but it breaks the background color of the header bar where Product, Cost, Price, Special Price, Margin ($), Margin (%) is shown.

Edited by chaicka, 27 June 2004 - 14:29.


#20   blueline

blueline
  • Members
  • 994 posts
  • Real Name:Chris Sullivan
  • Location:Atlanta, GA - USA

Posted 27 June 2004 - 15:26

Please update your files with the new files found in the contributions section. This fixes the large font problem, and adds A LOT of new funcionality.

Thanks,
-Chris
Chris Sullivan