layout update receipt form and index view