{literal} {/literal} {if $Programsettingdata->rulers eq 0}
{if $restaurantOrder->tableId > 0 } {/if} {if $clientFlag == 1} {/if}
{$Programsettingdata->phone}
    طاولة :{$restaurantOrder->tableName}
  {if $showserial eq 1}سيريال :{$restaurantOrder->id}{/if}   رقم الطلب:{$restaurantOrder->daySreial}
  {$restaurantOrder->sysdate}   المستخدم :{$userData->employeename}
  رقم الهاتف: {if $delivery->clientmobile == 1} {$client->clientmobile} {/if} {if $delivery->clientphone == 1} {if $delivery->clientmobile == 1}
{/if} {$client->clientphone} {/if}
  اسم العميل: {$client->clientname}
{if $delivery->clientaddress == 1} {$client->clientaddress} {/if} {if $delivery->clientdetails == 1} {$client->clientdetails} {/if}
{assign var=i value=1} {assign var=total value=0} {foreach $restaurantOrderDetails as $product} {assign var=proTotal value=$product->quantity * $product->price} {*$product->total*} {assign var=total value=$total+$proTotal} {assign var=i value=$i+1} {/foreach}
اجمالى السعر الكميه الصــــــــنف #
{$proTotal}{$product->price} {$product->quantity} {$product->productName} {$i}

{if $restaurantOrder->tax > 0 || $billTax > 0 } {/if} {if $restaurantOrder->discount !=0} {/if} {if $printResBillonly == 1} {if $billTax > 0} {/if} {if $restaurantOrder->discount !=0} {/if} {if $restaurantOrder->discount !=0} {/if} {else} {if $restaurantOrder->tax !=0} {/if} {if $restaurantOrder->discount !=0} {/if} {if $restaurantOrder->discount !=0} {/if} {/if} restaurantplaystationplayid > 0}{else} style="display:none"{/if}> restaurantplaystationplayid > 0}{else} style="display:none"{/if}> {if $restaurantOrder->billComment!=""} {/if}
الاجمالي {if $Programsettingdata->taxNameFlag == 1}خدمة{else}% الضريبه 15 {/if} الخصمالصافى
{$total + $billTax}{$billTax}{$restaurantOrder->discount}{$total}
{$restaurantOrder->netBill}{$restaurantOrder->tax}{$restaurantOrder->discount}{$total}
حجز بلاى ستيشن رقم {$playstation->id} بمبلغ {$playstation->netPrice}
الاجمالى العام : {$total+$restaurantOrder->tax-$restaurantOrder->discount + $playstation->netPrice - $playstation->cardPayed}{*$restaurantOrder->netBill*}
{$restaurantOrder->billComment}

{else}
{if $restaurantOrder->tableId >0} {/if} {if $clientFlag == 1} {/if}
{$Programsettingdata->phone}
    طاولة :{$restaurantOrder->tableName}
  {if $showserial eq 1} {$restaurantOrder->id}{/if}   رقم الطلب:{$restaurantOrder->daySreial}
  {$restaurantOrder->sysdate}   المستخدم :{$userData->employeename}
  {if $delivery->clientmobile == 1} {$client->clientmobile} {/if} {if $delivery->clientphone == 1} {if $delivery->clientmobile == 1}
{/if} {$client->clientphone} {/if}
  {$client->clientname}
{if $delivery->clientaddress == 1} {$client->clientaddress} {/if} {if $delivery->clientdetails == 1} {$client->clientdetails} {/if}
{assign var=i value=1} {assign var=total value=0} {foreach $restaurantOrderDetails as $product} {assign var=proTotal value=$product->quantity*$product->price} {*$product->total*} {assign var=total value=$total+$proTotal} {assign var=i value=$i+1} {/foreach}
اجمالى السعر الكميه الصــــــــنف #
{$proTotal}{$product->price} {$product->quantity} {$product->productName} {$i}

{if $restaurantOrder->tax !=0||$restaurantOrder->discount !=0} {/if} {if $restaurantOrder->tax !=0} {/if} {if $restaurantOrder->discount !=0} {/if} {if $restaurantOrder->tax !=0||$restaurantOrder->discount !=0} {/if} {if $restaurantOrder->tax !=0} {/if} {if $restaurantOrder->discount !=0} {/if} {if $restaurantOrder->discount !=0} {/if} restaurantplaystationplayid > 0}{else} style="display:none"{/if}> restaurantplaystationplayid > 0}{else} style="display:none"{/if}> {if $restaurantOrder->billComment!=""} {/if}
الصافى {if $Programsettingdata->taxNameFlag == 1}خدمة{else}% الضريبه 15 {/if} الخصمالاجمالي
{$restaurantOrder->netBill}{$restaurantOrder->tax}{$restaurantOrder->discount}{$restaurantOrder->totalBill}
حجز بلاى ستيشن رقم {$playstation->id} بمبلغ {$playstation->netPrice}
الاجمالى العام : {$total+$restaurantOrder->tax-$restaurantOrder->discount + $playstation->netPrice - $playstation->cardPayed}{*$restaurantOrder->netBill*}
{$restaurantOrder->billComment}

{/if} {if $qrerp > 1}
{if $qrerp == 3 || $qrerp == 4} {/if} {if $qrerp == 2 || $qrerp == 4} {/if}
{/if}
{$Programsettingdata->printfoot}
billsettingsvalue == 2}style="display:none;"{/if} style="text-align: center;">
العنوان : {if $billsettingsData[72]->billsettingsvalue == 0 || $userData->branchId == 0 || $userData->branchId == -1} {$Programsettingdata->address} {else} {$branchData->branchAddress} {/if}