If you don't want to deposit your sales into your real bank account, you can just create a wash or clearing account for you to deposit the sales. Then, use that clearing account when writing a check for the salary.
To create a clearing account:
Sign in to your QuickBooks account and go to Accounting on the left-side panel.
Select Chart of Accounts.
On the Chart of Accounts screen, click the New tab.
Choose Bank for the Account Type. You may choose any detail type you want for your clearing account.
Type in the Name for the clearing account.
Make sure you do not type in any amount on the balance before clicking Save and Close.
To record the sales, enter a sales receipt, then deposit it to the clearing account.
Tap on Sales Receipt under Customers.
Fill in the necessary information, then select the clearing account created under the Deposit to section.
Click on Save and close.
If you'll record the payout cash for salary, enter a check and select the clearing account where you deposit the sales amount.
As always, feel free to read our help articles in case you need tips and related links while working with QuickBooks in the future.
Reach out to me if you have any other questions. I'm a post away to help. Have a good day!