いかに～かどうか structure in this sentence


> 就職先を失敗して学んだことは、どんな仕事にしろ結局はいかに相手の立場になって物事を考えられるかどうかだと思った。

Speaker talking about a prior job that the speaker quit due to insane
hours/low pay

I think that "I learned from failing at my (old) workplace that, whatever job
it is, in the end however much i become (?) my partner's standpoint, shuold i
consider everything(?)".

I can't quite make sense of what the speaker is trying to say here.

Thank you




> 就職先を失敗して学んだことは、  
>  What I learned after failing in choosing a workplace is (that)...
>
> どんな仕事にしろ  
>  whatever job it is,
>
> 結局は ～ だと思った  
>  I thought it boils down to ～ / after all, it's a matter of ～
>
> いかに相手の立場になって物事を考えられるかどうか  
>  how well I can think things from other people's standpoint

The last one is a simple embedded question rather than "no matter how". 立場になる
is "to place oneself in a (certain) position", and ～の立場になって is "from ～'s
standpoint." 相手 in this context refers to anyone you talk or do business with.




> 就職先を失敗して学んだことは、  
>  What I learned after failing in choosing a workplace is (that)...
>
> どんな仕事にしろ  
>  whatever job it is,
>
> 結局は ～ だと思った  
>  I thought it boils down to ～ / after all, it's a matter of ～
>
> いかに相手の立場になって物事を考えられるかどうか  
>  how well I can think things from other people's standpoint

The last one is a simple embedded question rather than "no matter how". 立場になる
is "to place oneself in a (certain) position", and ～の立場になって is "from ～'s
standpoint." 相手 in this context refers to anyone you talk or do business with.

