Fixing Notice: Undefined index: paid in ...