Parliament approves profit allocation law