title: Distribute the Order's freight cost value on order's items according to item's share from the overall order Total
body: <p><a href="https://i.stack.imgur.com/MW9tC.jpg" rel="nofollow noreferrer">Please Open this image, It will Clarify my Question</a>
  I have a database with tables : orders, order_details, Products and so on.
  each order has a Total, freight_cost and so on with other fields.
  Each order_details have a subtotal and of course with other fields.
  I want to calculate the share of freight value for each item in the order from the over all total of that order's freight_cost. Please, open the image in beginning of my question to clarify clearly what I want to do.</p>