{literal} {/literal}
{if $clientFlag == 1} {/if} {if $restaurantOrder->billComment!=""} {/if} {if $restaurantOrder->tableId >0} {/if}
  {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}  
  {$restaurantOrder->billComment}  
    طاولة :{$restaurantOrder->tableName}
  سيريال :{$restaurantOrder->id}   رقم الطلب:{$restaurantOrder->daySreial}
  {$restaurantOrder->sysdate}   المستخدم :{$userData->employeename}
{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}>
الصافى{if $Programsettingdata->taxNameFlag == 1}خدمة{else}الضريبة{/if}الخصمالاجمالي
{$total+$restaurantOrder->tax-$restaurantOrder->discount}{*$restaurantOrder->netBill*}{$restaurantOrder->tax}{$restaurantOrder->discount}{$total}{*$restaurantOrder->totalBill*}
حجز بلاى ستيشن رقم {$playstation->id} بمبلغ {$playstation->netPrice}