Fee variable in drug sale table

kodusote wrote on Sunday, January 27, 2013:

I hope someone can help clear my confusion about the fee variable in the Drug Sales Table.

When a drug is purchased and added with the edit-lot…php, the cost is added to the fee variable as a negative value in the drug sales table.

The file …/drugs/drug.inc.php computes $fee from the drug inventory of quantity dispensed and is expected to save the value in the drug sales table but it does not seem to do so.

The ./drugs/dispense_drug.php file accepts amount entered into the “fee” field and saves it into the row of the drug dispensed in the drug sales table.  This value appears in the Payment checkout of the patient against the drug.

Is the fee to be paid for drug dispensed to be automatically calculated from the cost of the drug (without a mark-up for overheads)?  If so, then it is not working correctly at present in 4.1.1 (9).  If not, what is the intended use of this variable.

Kayode