@Override
public DepositAccountData retrieveTemplate(final DepositAccountType depositAccountType, final Long clientId, final Long groupId,
final Long productId, final boolean staffInSelectedOfficeOnly) {
final AppUser loggedInUser = this.context.authenticatedUser();
Long officeId = loggedInUser.getOffice().getId();
ClientData client = null;
Collection<SavingsAccountData> savingsAccountDatas = null;
if (clientId != null) {
client = this.clientReadPlatformService.retrieveOne(clientId);