Correct mistyping error

Replaced the undefined variable $f with the current loyalty $item.
// follow up https://github.com/PrestaShop/loyalty/pull/4
// norms
// norms
Fix incorrect id_order field

$item is an array where id_order is aliased id.
// Version updated to v1.2.2