So each of the leaf cells is actually physically 2 cells in series with a center connection.
You need a 7s = 7 in series for 24V.
So with your 12 cells you would arrange in 4 groups in series with each "group" = 3 cells in parallel
ie 8s, but you would not use the "2nd half" of the last cells. Ie you're using "3.5" in series of your "2-in-one" leaf cell packs
There's lots of examples online for who to connect them & with a BMS.
Have a read here:
I have seen a lot of people on the internet repurposing old laptop batteries and batteries from electric vehicles. This is a great way to acquire low cost, high quality batteries, but it does require a lot of work to disassemble, test, and sort them. I think this will become a common method in the f
offgridsolarbook.com
the pic here:
has 4 cells in parallel but basically the right layout for you.
You can see the paralleling busbars, yours would be three cells long.
Each 1/2 side of the leaf cell = 1x 3.7V "cell", so you start with the most -ve cell = your battery PACK 0V & step to the centre for B1 BMS point, then to the right side +ve = B2. connection to next cell module -ve (also =same B2), center = B3, right side +ve =B4 connection to next cell module, etc, etc, then center of last cell module = B7 also = your battery PACK +ve.
Each step increases by approx 3.7V from the 0 terminal.
Check everything with a multimeter before you join, maybe use thin wire to test connections (thin wire would melt like a fuse vs big sparks from thick cables).