Basement rough-in. Converting plumbing from a tub to a fiberglass shower
That pipe that is pictured above the floor may be the beginning of a vent pipe. Yes it does look like there is a trap below the floor, from what I can see, a little more dirt removed would have been good, but it looks like it is there. If the tubs bottom is high enough, you will not need to remove more concrete, the drain of the tub can set above the concrete floor, most tubs do not allow that. Most likely you will need to break out about 8-12" more under the tub to set the drain. Typically the trap is glued in last so the pipe from the overflow and tub drain is a straight shot down into the J bend of the trap. With the way it is assembled now, you will need to add a few otherwise unnecessary elbows to get it to connect. If you leave it that way add a clean out real close in case it clogs. More elbows equals easier clogs.