How to display specific branch address on pdf based on the selected branch in sales order ?

How to display specific branch address on pdf based on the selected branch in sales order ?

Hi,

I had enable branch functions, is there a way to display specific branch address on pdf based on the selected branch in sales order ?
For example: I had created sales order for branch A , how to make it display branch A address in pdf ? 

If sales order is created from Branch B, the address in pdf should be branch B

Thank you