PHP finance workflow