Hi
Please add the following functions to
care2x_2.5_RC1\include/care_api_classes/class_department.php
/**
* Gets the id of the pharmacy on wich this department can order. The
result is 2 dimensional associative array.
* @access public
* @param int Department number
* @return mixed 1 dimensional associative array or boolean
*/
function getPharmaOfDept($nr){
global $db;
$this->sql="SELECT pharma_dept_nr FROM $this->tb WHERE nr=$nr";
if ($this->result=$db->Execute($this->sql)) {
if ($this->result->RecordCount()) {
return $this->result->FetchRow();
} else {
return FALSE;
}
} else {
return FALSE;
}
}
NB:-
You know about Koders code search engine http://www.koders.com/ It is
an opensource code engine. Just put any tag u wanna to search in any
open source code
It will give you a correct path ...
I believe that it will help you...Please let me know....
Best Wishes
Shalini M
On Thu, May 14, 2009 at 11:47 AM, ganesh kumar <kgk_...@yahoo.co.in> wrote:
>
> Hi,
>
> I am getting this fatal error when I am trying to create and send a
> pharmacy order list.
>
> Fatal error: Call to undefined function: getpharmaofdept() in
> D:\xampp\htdocs\care2x_2.5_RC1\modules\products\products-bestellkatalog.php
> on line 16
>
>
> Please assist me to overcome this problem.
>
> Thanks & Regards,
> Fromkgk_007
>
>
> Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
> Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Care2002-developers mailing list
> Care2002-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>
--
Regards,
Shalini M
UXTechnologies Pvt. Ltd. Kannur
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers