The first two entries create a difference between the entries made in cash book and the entries made by the bank. The third entry where the cheques have been deposited by the customer is added in the cash book and credited by bank, i.e. added in the pass book. So, this entry will not show any difference.