from django.urls import path
from .views import newBill, Customer, editItemqty, delete_childitm, importCust_template, importcustomerdata, \
    calculate_total,billedlist

urlpatterns = [
    path('newbill/<int:id>', newBill.as_view(), name='newbill'),
    path('cust', Customer.as_view(), name='cust'),
    path('editqty/<int:id>', editItemqty, name='editqty'),
    path('child_del/<int:id>', delete_childitm, name='child_del'),
    path('importcusttemplate', importCust_template, name='importcusttemplate'),
    path('importcustdata', importcustomerdata, name='importcustdata'),
    path('calculate',calculate_total,name='calculate'),
    path('billinglist',billedlist,name='billinglist'),
]
